diff options
Diffstat (limited to 'src/modules/m_sethost.cpp')
-rw-r--r-- | src/modules/m_sethost.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp index 697ba1dfd..7daccb293 100644 --- a/src/modules/m_sethost.cpp +++ b/src/modules/m_sethost.cpp @@ -66,10 +66,10 @@ class ModuleSetHost : public Module { cmd_sethost* mycommand; public: - ModuleSetHost(Server* Me) + ModuleSetHost(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + mycommand = new cmd_sethost(); Srv->AddCommand(mycommand); } @@ -98,7 +98,7 @@ class ModuleSetHostFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleSetHost(Me); } |