diff options
Diffstat (limited to 'src/modules/m_noctcp.cpp')
-rw-r--r-- | src/modules/m_noctcp.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp index 1b1f56397..a5d472d45 100644 --- a/src/modules/m_noctcp.cpp +++ b/src/modules/m_noctcp.cpp @@ -58,6 +58,19 @@ class ModuleNoCTCP : public Module return 0; } + virtual int OnExtendedMode(userrec* user, void* target, char modechar, int type, bool mode_on, string_list ¶ms) + { + // check if this is our mode character... + if ((modechar == 'C') && (type == MT_CHANNEL)) + { + return 1; + } + else + { + return 0; + } + } + virtual ~ModuleNoCTCP() { delete Srv; |