diff options
Diffstat (limited to 'src/modules/m_samode.cpp')
-rw-r--r-- | src/modules/m_samode.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_samode.cpp b/src/modules/m_samode.cpp index 0a60862af..63e2a1f36 100644 --- a/src/modules/m_samode.cpp +++ b/src/modules/m_samode.cpp @@ -76,10 +76,10 @@ class ModuleSaMode : public Module { cmd_samode* mycommand; public: - ModuleSaMode(Server* Me) + ModuleSaMode(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + mycommand = new cmd_samode(); Srv->AddCommand(mycommand); } @@ -106,7 +106,7 @@ class ModuleSaModeFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleSaMode(Me); } |