diff options
| author | 2004-05-09 23:33:36 +0000 | |
|---|---|---|
| committer | 2004-05-09 23:33:36 +0000 | |
| commit | 50460419e6f76eecd57dc72a4f2fcc88dc114a50 (patch) | |
| tree | f0f521202f9274755b2e456163764360f1188937 /src/modules/m_noctcp.cpp | |
| parent | Added m_ctcp, adds support for unreal-style chanmode +C (diff) | |
| download | inspircd++-50460419e6f76eecd57dc72a4f2fcc88dc114a50.tar.gz inspircd++-50460419e6f76eecd57dc72a4f2fcc88dc114a50.tar.bz2 inspircd++-50460419e6f76eecd57dc72a4f2fcc88dc114a50.zip | |
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.cpp | 6 |
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')) |
