From dbcad43824c1e0a89b2d46faddd3d301c2b06493 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 8 Jun 2019 01:10:23 +0100 Subject: Fix a typo in the filter module. --- src/modules/m_filter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp index a036052f6..8e51fd683 100644 --- a/src/modules/m_filter.cpp +++ b/src/modules/m_filter.cpp @@ -393,7 +393,7 @@ ModResult ModuleFilter::OnUserPreMessage(User* user, const MessageTarget& msgtar target = t->name; } - if (is_selfmsg & warnonselfmsg) + if (is_selfmsg && warnonselfmsg) { ServerInstance->SNO->WriteGlobalSno('f', InspIRCd::Format("WARNING: %s's self message matched %s (%s)", user->nick.c_str(), f->freeform.c_str(), f->reason.c_str())); -- cgit v1.2.3