diff options
Diffstat (limited to 'src/modules/m_nonotice.cpp')
-rw-r--r-- | src/modules/m_nonotice.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp index 673915ee8..7a2229ccd 100644 --- a/src/modules/m_nonotice.cpp +++ b/src/modules/m_nonotice.cpp @@ -25,6 +25,8 @@ using namespace std; /* $ModDesc: Provides support for unreal-style channel mode +T */ +extern InspIRCd* ServerInstance; + class NoNotice : public ModeHandler { public: @@ -96,7 +98,7 @@ class ModuleNoNotice : public Module virtual void On005Numeric(std::string &output) { - InsertMode(output,"T",4); + ServerInstance->ModeGrok->InsertMode(output,"T",4); } virtual ~ModuleNoNotice() |