diff options
Diffstat (limited to 'src/modules/m_opermodes.cpp')
-rw-r--r-- | src/modules/m_opermodes.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_opermodes.cpp b/src/modules/m_opermodes.cpp index 1181a32c3..f03d68813 100644 --- a/src/modules/m_opermodes.cpp +++ b/src/modules/m_opermodes.cpp @@ -32,10 +32,10 @@ class ModuleModesOnOper : public Module ConfigReader *Conf; public: - ModuleModesOnOper(Server* Me) + ModuleModesOnOper(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + Conf = new ConfigReader; } @@ -100,7 +100,7 @@ class ModuleModesOnOperFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleModesOnOper(Me); } |