diff options
author | Peter Powell <petpow@saberuk.com> | 2019-06-08 01:10:23 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-06-08 01:10:23 +0100 |
commit | dbcad43824c1e0a89b2d46faddd3d301c2b06493 (patch) | |
tree | 85ff373e397469f04149215e83b732d913760cf9 | |
parent | 34d385ea3253442c2ede2df1f0b50b2eb042c615 (diff) |
Fix a typo in the filter module.
-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 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())); |