1
0
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:
William Pitcock
2012-12-26 12:31:36 -06:00
parent 3653d0148d
commit 997aae03c4
+1 -1
View File
@@ -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