diff options
Diffstat (limited to 'src/modules/m_censor.cpp')
-rw-r--r-- | src/modules/m_censor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp index 4bc5b43e5..8ed3d47f3 100644 --- a/src/modules/m_censor.cpp +++ b/src/modules/m_censor.cpp @@ -108,7 +108,7 @@ class ModuleCensor : public Module CensorChannel *cc; public: - ModuleCensor(Server* Me) + ModuleCensor(InspIRCd* Me) : Module::Module(Me) { /* @@ -123,7 +123,7 @@ class ModuleCensor : public Module * * XXX - These module pre-date the include directive which exists since beta 5 -- Brain */ - Srv = Me; + OnRehash(""); cu = new CensorUser(ServerInstance); cc = new CensorChannel(ServerInstance); @@ -244,7 +244,7 @@ class ModuleCensorFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleCensor(Me); } |