diff options
Diffstat (limited to 'src/modules/m_silence.cpp')
-rw-r--r-- | src/modules/m_silence.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_silence.cpp b/src/modules/m_silence.cpp index 923c24981..e912f0c13 100644 --- a/src/modules/m_silence.cpp +++ b/src/modules/m_silence.cpp @@ -138,10 +138,10 @@ class ModuleSilence : public Module cmd_silence* mycommand; public: - ModuleSilence(Server* Me) + ModuleSilence(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + mycommand = new cmd_silence(); Srv->AddCommand(mycommand); } @@ -224,7 +224,7 @@ class ModuleSilenceFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleSilence(Me); } |