diff options
Diffstat (limited to 'src/modules/m_check.cpp')
-rw-r--r-- | src/modules/m_check.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 180a989c9..251faf58a 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -188,9 +188,9 @@ class ModuleCheck : public Module private: cmd_check *mycommand; public: - ModuleCheck(Server* Me) : Module::Module(Me) + ModuleCheck(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + mycommand = new cmd_check(); Srv->AddCommand(mycommand); } @@ -224,7 +224,7 @@ class ModuleCheckFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleCheck(Me); } |