From 496ef08226f93d877d90e56076704795fa349a4b Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 24 May 2004 20:56:01 +0000 Subject: 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 --- src/modules/m_blockcolor.cpp | 1 + src/modules/m_noctcp.cpp | 1 + 2 files changed, 2 insertions(+) (limited to 'src/modules') 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 -- cgit v1.2.3