mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Don't filter mass-messages sent by server operators.
This matches the behaviour of the censor module.
This commit is contained in:
parent
cbe5b99314
commit
5c6b063067
@ -406,7 +406,7 @@ ModResult ModuleFilter::OnUserPreMessage(User* user, const MessageTarget& msgtar
|
||||
break;
|
||||
}
|
||||
case MessageTarget::TYPE_SERVER:
|
||||
break;
|
||||
return MOD_RES_PASSTHRU;
|
||||
}
|
||||
|
||||
if (is_selfmsg && warnonselfmsg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user