diff options
Diffstat (limited to 'src/modules/m_saquit.cpp')
-rw-r--r-- | src/modules/m_saquit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_saquit.cpp b/src/modules/m_saquit.cpp index 4900a3db8..8ef0a70ab 100644 --- a/src/modules/m_saquit.cpp +++ b/src/modules/m_saquit.cpp @@ -74,10 +74,10 @@ class ModuleSaquit : public Module { cmd_saquit* mycommand; public: - ModuleSaquit(Server* Me) + ModuleSaquit(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + mycommand = new cmd_saquit(); Srv->AddCommand(mycommand); } @@ -106,7 +106,7 @@ class ModuleSaquitFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleSaquit(Me); } |