diff options
Diffstat (limited to 'src/modules/m_devoice.cpp')
-rw-r--r-- | src/modules/m_devoice.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_devoice.cpp b/src/modules/m_devoice.cpp index 54a08ab98..b2c411e74 100644 --- a/src/modules/m_devoice.cpp +++ b/src/modules/m_devoice.cpp @@ -60,9 +60,9 @@ class ModuleDeVoice : public Module { cmd_devoice *mycommand; public: - ModuleDeVoice(Server* Me) : Module::Module(Me) + ModuleDeVoice(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + mycommand = new cmd_devoice(); Srv->AddCommand(mycommand); } @@ -89,7 +89,7 @@ class ModuleDeVoiceFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleDeVoice(Me); } |