diff options
author | Sadie Powell <sadie@witchery.services> | 2020-04-04 12:28:39 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-04-04 12:31:14 +0100 |
commit | 5c6b063067587547a8f15e81c1d789f9bcd9974b (patch) | |
tree | 17cc79338e8f9a069a349cd34ffb3fdc54389a9d /src | |
parent | cbe5b993142c218e09ae972bdce91681cc0ba485 (diff) |
Don't filter mass-messages sent by server operators.
This matches the behaviour of the censor module.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_filter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp index e1cc5d451..3e7652509 100644 --- a/src/modules/m_filter.cpp +++ b/src/modules/m_filter.cpp @@ -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) |