summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-05 11:26:46 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-08-05 11:26:46 +0000
commit1913c07c2eda9c946850dfd2ebafa498ed8b2970 (patch)
tree9d25f62ca96cf4113a393022a573c51b2f244f79
parent1bbc0d58f7bca4c0509f041d13c6c7b5e9fee2c4 (diff)
Add extban +b C: - blocks matching masks from sending CTCP. Allows +e.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10088 e03df62e-2008-0410-955e-edbf42e46eb7
-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'))
{