summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-04-04 12:28:39 +0100
committerSadie Powell <sadie@witchery.services>2020-04-04 12:31:14 +0100
commit5c6b063067587547a8f15e81c1d789f9bcd9974b (patch)
tree17cc79338e8f9a069a349cd34ffb3fdc54389a9d
parentcbe5b993142c218e09ae972bdce91681cc0ba485 (diff)
Don't filter mass-messages sent by server operators.
This matches the behaviour of the censor module.
-rw-r--r--src/modules/m_filter.cpp2
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)