summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_noctcp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index 8d7d3957d..e2bc82151 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -78,7 +78,7 @@ class ModuleNoCTCP : public Module
return 0;
}
- if (c->IsModeSet('C'))
+ if (c->IsModeSet('C') || c->IsExtBanned(user, 'C'))
{
if ((text.length()) && (text[0] == '\1'))
{