diff options
Diffstat (limited to 'src/modules/m_helpop.cpp')
-rw-r--r-- | src/modules/m_helpop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp index 00ba05c24..d0ec1a0aa 100644 --- a/src/modules/m_helpop.cpp +++ b/src/modules/m_helpop.cpp @@ -36,7 +36,7 @@ void sendtohelpop(userrec*, int, const char**); class Helpop : public ModeHandler { public: - Helpop() : ModeHandler('h', 0, 0, false, MODETYPE_USER, true) { } + Helpop(InspIRCd* Instance) : ModeHandler(Instance, 'h', 0, 0, false, MODETYPE_USER, true) { } ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) { @@ -207,7 +207,7 @@ class ModuleHelpop : public Module Srv = Me; ReadConfig(); - ho = new Helpop(); + ho = new Helpop(ServerInstance); Srv->AddMode(ho, 'h'); mycommand = new cmd_helpop(); Srv->AddCommand(mycommand); |