inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit dbcad43824c1e0a89b2d46faddd3d301c2b06493
parent 34d385ea3253442c2ede2df1f0b50b2eb042c615
Author: Peter Powell <petpow@saberuk.com>
Date:   Sat,  8 Jun 2019 01:10:23 +0100

Fix a typo in the filter module.

Diffstat:
Msrc/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 @@ -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()));