summaryrefslogtreecommitdiff
path: root/src/modules/m_noctcp.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-09 23:33:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-05-09 23:33:36 +0000
commit50460419e6f76eecd57dc72a4f2fcc88dc114a50 (patch)
treef0f521202f9274755b2e456163764360f1188937 /src/modules/m_noctcp.cpp
parent765cdd25cb1e3ad1b38a11865a9730e65be4b4e6 (diff)
Fixed m_redirect.so which was claiming every mode that came its way!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@803 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_noctcp.cpp')
-rw-r--r--src/modules/m_noctcp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index 3a7959277..bf7cb8d62 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -4,7 +4,7 @@
#include "channels.h"
#include "modules.h"
-/* $ModDesc: Provides support for unreal-style channel mode +Q */
+/* $ModDesc: Provides support for unreal-style channel mode +c */
class ModuleNoCTCP : public Module
{
@@ -20,7 +20,7 @@ class ModuleNoCTCP : public Module
virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string text)
{
- if (target_type == TARGET_CHANNEL)
+ if (target_type == TYPE_CHANNEL)
{
chanrec* c = (chanrec*)dest;
if (c->IsCustomModeSet('C'))
@@ -37,7 +37,7 @@ class ModuleNoCTCP : public Module
virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string text)
{
- if (target_type == TARGET_CHANNEL)
+ if (target_type == TYPE_CHANNEL)
{
chanrec* c = (chanrec*)dest;
if (c->IsCustomModeSet('C'))