Commit Diff


commit - 6ef20e0f9a6c6f82fbb82b6c60f98b8e8b401b8d
commit + 32bfafafd9e90f9e224bf95e4f2512cea729aac1
blob - c93133c432021f3e1c540f2e5de3e6bc8c8719aa
blob + 588513dd43dd87271d64f3b6111d25b68300ddbb
--- src/ngircd/op.c
+++ 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)