mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-07 02:53:13 +02:00
- Require OPCanOverride to talk through channel bans. (#3410)
This commit is contained in:
+1
-1
@@ -830,7 +830,7 @@ int can_send(aClient *cptr, aChannel *chptr, char *msgtext, int notice)
|
||||
return (CANNOT_SEND_NOTICE);
|
||||
|
||||
/* Makes opers able to talk thru bans -Stskeeps suggested by The_Cat */
|
||||
if (IsOper(cptr))
|
||||
if (IsOper(cptr) && OPCanOverride(cptr))
|
||||
return 0;
|
||||
|
||||
if ((!lp
|
||||
|
||||
Reference in New Issue
Block a user