From: Alexander Barton Date: Sun, 25 Dec 2011 18:11:43 +0000 (+0100) Subject: Op_Check(): always accept commands from a remote server itself X-Git-Tag: rel-19-rc1~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32bfafafd9e90f9e224bf95e4f2512cea729aac1;p=ngircd Op_Check(): always accept commands from a remote server itself --- 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)