diff options
Diffstat (limited to 'src/modules/m_restrictchans.cpp')
-rw-r--r-- | src/modules/m_restrictchans.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp index d5a5baba1..8889823c4 100644 --- a/src/modules/m_restrictchans.cpp +++ b/src/modules/m_restrictchans.cpp @@ -47,10 +47,10 @@ class ModuleRestrictChans : public Module } public: - ModuleRestrictChans(Server* Me) + ModuleRestrictChans(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + ReadConfig(); } @@ -102,7 +102,7 @@ class ModuleRestrictChansFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleRestrictChans(Me); } |