mirror of
				https://github.com/osmarks/ngircd.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	Op_Check(): always accept commands from a remote server itself
This commit is contained in:
		| @@ -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) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alexander Barton
					Alexander Barton