From 50460419e6f76eecd57dc72a4f2fcc88dc114a50 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 9 May 2004 23:33:36 +0000 Subject: 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 --- src/modules/m_noctcp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_noctcp.cpp') 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')) -- cgit v1.3.1-10-gc9f91