summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-24 20:56:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-24 20:56:01 +0000
commit496ef08226f93d877d90e56076704795fa349a4b (patch)
treecf932ef60b1309c947daa461819355c8803727dc /src/modules
parentd53d8da69b4aecef4f929693b43c07046f2e2136 (diff)
Fixed perplexing bug in custom mode removal (apparent with +C and +c)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@829 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_blockcolor.cpp1
-rw-r--r--src/modules/m_noctcp.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_blockcolor.cpp b/src/modules/m_blockcolor.cpp
index 7f9d8716d..fb98709a4 100644
--- a/src/modules/m_blockcolor.cpp
+++ b/src/modules/m_blockcolor.cpp
@@ -75,6 +75,7 @@ class ModuleBlockColor : public Module
// check if this is our mode character...
if ((modechar == 'c') && (type == MT_CHANNEL))
{
+ log(DEBUG,"Allowing c change");
return 1;
}
else
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index 4d58151f0..73b991f7c 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -78,6 +78,7 @@ class ModuleNoCTCP : public Module
// check if this is our mode character...
if ((modechar == 'C') && (type == MT_CHANNEL))
{
+ log(DEBUG,"Allowing C change");
return 1;
}
else