diff options
Diffstat (limited to 'src/modules/m_operlevels.cpp')
-rw-r--r-- | src/modules/m_operlevels.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp index 0c97765b9..e6c64dcd0 100644 --- a/src/modules/m_operlevels.cpp +++ b/src/modules/m_operlevels.cpp @@ -21,11 +21,11 @@ class ModuleOperLevels : public Module public: - ModuleOperLevels(Server* Me) + ModuleOperLevels(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + conf = new ConfigReader; } @@ -98,7 +98,7 @@ class ModuleOperLevelsFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { log(DEBUG,"CreateModule"); return new ModuleOperLevels(Me); |