about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/op.c3
1 files changed, 3 insertions, 0 deletions
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)