diff options
Diffstat (limited to 'src/modules/m_noctcp.cpp')
-rw-r--r-- | src/modules/m_noctcp.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp index d75ded180..dd35f88a8 100644 --- a/src/modules/m_noctcp.cpp +++ b/src/modules/m_noctcp.cpp @@ -25,6 +25,8 @@ using namespace std; /* $ModDesc: Provides support for unreal-style channel mode +c */ +extern InspIRCd* ServerInstance; + class NoCTCP : public ModeHandler { public: @@ -75,7 +77,7 @@ class ModuleNoCTCP : public Module virtual void On005Numeric(std::string &output) { - InsertMode(output,"C",4); + ServerInstance->ModeGrok->InsertMode(output,"C",4); } virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string &text, char status) |