summaryrefslogtreecommitdiff
path: root/src/modules/m_operlevels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_operlevels.cpp')
-rw-r--r--src/modules/m_operlevels.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp
index 1909ab5c8..a8f45d6f9 100644
--- a/src/modules/m_operlevels.cpp
+++ b/src/modules/m_operlevels.cpp
@@ -26,7 +26,7 @@ class ModuleOperLevels : public Module
{
- conf = new ConfigReader;
+ conf = new ConfigReader(ServerInstance);
}
virtual ~ModuleOperLevels()
@@ -42,7 +42,7 @@ class ModuleOperLevels : public Module
virtual void OnRehash(const std::string &parameter)
{
DELETE(conf);
- conf = new ConfigReader;
+ conf = new ConfigReader(ServerInstance);
}
virtual Version GetVersion()