diff options
Diffstat (limited to 'src/modules/m_sapart.cpp')
-rw-r--r-- | src/modules/m_sapart.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_sapart.cpp b/src/modules/m_sapart.cpp index fb4117b42..04286f6fc 100644 --- a/src/modules/m_sapart.cpp +++ b/src/modules/m_sapart.cpp @@ -61,10 +61,10 @@ class ModuleSapart : public Module { cmd_sapart* mycommand; public: - ModuleSapart(Server* Me) + ModuleSapart(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + mycommand = new cmd_sapart(); Srv->AddCommand(mycommand); } @@ -93,7 +93,7 @@ class ModuleSapartFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleSapart(Me); } |