diff options
Diffstat (limited to 'src/modules/m_botmode.cpp')
-rw-r--r-- | src/modules/m_botmode.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp index b33e63e19..57ece4759 100644 --- a/src/modules/m_botmode.cpp +++ b/src/modules/m_botmode.cpp @@ -66,10 +66,10 @@ class ModuleBotMode : public Module Server *Srv; BotMode* bm; public: - ModuleBotMode(Server* Me) + ModuleBotMode(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + bm = new BotMode(ServerInstance); Srv->AddMode(bm, 'B'); } @@ -112,7 +112,7 @@ class ModuleBotModeFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleBotMode(Me); } |