diff options
Diffstat (limited to 'src/modules/m_nonotice.cpp')
-rw-r--r-- | src/modules/m_nonotice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_nonotice.cpp b/src/modules/m_nonotice.cpp index 7a2229ccd..34c59db88 100644 --- a/src/modules/m_nonotice.cpp +++ b/src/modules/m_nonotice.cpp @@ -30,7 +30,7 @@ extern InspIRCd* ServerInstance; class NoNotice : public ModeHandler { public: - NoNotice() : ModeHandler('T', 0, 0, false, MODETYPE_CHANNEL, false) { } + NoNotice(InspIRCd* Instance) : ModeHandler(Instance, 'T', 0, 0, false, MODETYPE_CHANNEL, false) { } ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) { @@ -65,7 +65,7 @@ class ModuleNoNotice : public Module : Module::Module(Me) { Srv = Me; - nt = new NoNotice(); + nt = new NoNotice(ServerInstance); Srv->AddMode(nt, 'T'); } |