diff options
Diffstat (limited to 'src/modules/m_blockamsg.cpp')
-rw-r--r-- | src/modules/m_blockamsg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp index b22b5b327..62d744f9a 100644 --- a/src/modules/m_blockamsg.cpp +++ b/src/modules/m_blockamsg.cpp @@ -52,9 +52,9 @@ class ModuleBlockAmsg : public Module int ForgetDelay; BlockAction action; public: - ModuleBlockAmsg(Server* Me) : Module::Module(Me) + ModuleBlockAmsg(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + this->OnRehash(""); } @@ -194,7 +194,7 @@ class ModuleBlockAmsgFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleBlockAmsg(Me); } |