summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-06-08 01:10:23 +0100
committerPeter Powell <petpow@saberuk.com>2019-06-08 01:10:23 +0100
commitdbcad43824c1e0a89b2d46faddd3d301c2b06493 (patch)
tree85ff373e397469f04149215e83b732d913760cf9 /src
parent34d385ea3253442c2ede2df1f0b50b2eb042c615 (diff)
Fix a typo in the filter module.
Diffstat (limited to 'src')
-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 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()));