X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fop.c;h=588513dd43dd87271d64f3b6111d25b68300ddbb;hp=c93133c432021f3e1c540f2e5de3e6bc8c8719aa;hb=33a165721b79bf896a1895e79fa0809fd6f71174;hpb=e23f025dd6006eec2fe854ca0eaa623f0feb18ba diff --git a/src/ngircd/op.c b/src/ngircd/op.c index c93133c4..588513dd 100644 --- a/src/ngircd/op.c +++ b/src/ngircd/op.c @@ -81,6 +81,9 @@ Op_Check(CLIENT * Client, REQUEST * Req) if (!c) return NULL; + if (Client_Type(Client) == CLIENT_SERVER + && Client_Type(c) == CLIENT_SERVER) + return c; if (!Client_HasMode(c, 'o')) return NULL; if (!Client_OperByMe(c) && !Conf_AllowRemoteOper)