From 1913c07c2eda9c946850dfd2ebafa498ed8b2970 Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 5 Aug 2008 11:26:46 +0000 Subject: 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 --- src/modules/m_noctcp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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')) { -- cgit v1.2.3