diff options
Diffstat (limited to 'src/modules/m_setident.cpp')
-rw-r--r-- | src/modules/m_setident.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_setident.cpp b/src/modules/m_setident.cpp index b3bcef53b..ad14c786f 100644 --- a/src/modules/m_setident.cpp +++ b/src/modules/m_setident.cpp @@ -39,9 +39,9 @@ class ModuleSetIdent : public Module cmd_setident* mycommand; public: - ModuleSetIdent(Server* Me) : Module::Module(Me) + ModuleSetIdent(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + mycommand = new cmd_setident(); Srv->AddCommand(mycommand); } @@ -70,7 +70,7 @@ class ModuleSetIdentFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleSetIdent(Me); } |