diff options
author | attilamolnar <attilamolnar@hush.com> | 2012-07-17 04:15:28 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2012-07-17 05:06:54 +0200 |
commit | 0e8c46340c2d95239e0f11de510f758bf08cc681 (patch) | |
tree | fb59ea280d1782192ca23bb220d553622ead41f8 /src/modules/m_noctcp.cpp | |
parent | 73a4a37376fdf42c70c73ae5d8f8e933c3f28a61 (diff) |
m_noctcp Fix /me not being allowed on +C channels
Fixes #260 reported by @JDowny
Diffstat (limited to 'src/modules/m_noctcp.cpp')
-rw-r--r-- | src/modules/m_noctcp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp index 8c8e1c473..d6db7a7f7 100644 --- a/src/modules/m_noctcp.cpp +++ b/src/modules/m_noctcp.cpp @@ -67,7 +67,7 @@ class ModuleNoCTCP : public Module if (!c->IsModeSet('C')) return MOD_RES_PASSTHRU; - if ((text.empty()) || (text[0] != '\001') || (strncmp(text.c_str(),"\1ACTION ",8))) + if ((text.empty()) || (text[0] != '\001') || (!strncmp(text.c_str(),"\1ACTION ",8))) return MOD_RES_PASSTHRU; ModResult res = ServerInstance->OnCheckExemption(user,c,"noctcp"); |