mirror of
https://github.com/osmarks/ngircd.git
synced 2024-12-12 18:00:28 +00:00
Op_Check(): always accept commands from a remote server itself
This commit is contained in:
parent
6ef20e0f9a
commit
32bfafafd9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user