summaryrefslogtreecommitdiff
path: root/src/modules/m_operjoin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_operjoin.cpp')
-rw-r--r--src/modules/m_operjoin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operjoin.cpp b/src/modules/m_operjoin.cpp
index dc8e1081a..45c5e3959 100644
--- a/src/modules/m_operjoin.cpp
+++ b/src/modules/m_operjoin.cpp
@@ -43,7 +43,7 @@ class ModuleOperjoin : public Module
: Module::Module(Me)
{
- conf = new ConfigReader;
+ conf = new ConfigReader(ServerInstance);
operChan = conf->ReadValue("operjoin", "channel", 0);
}
@@ -55,7 +55,7 @@ class ModuleOperjoin : public Module
virtual void OnRehash(const std::string &parameter)
{
DELETE(conf);
- conf = new ConfigReader;
+ conf = new ConfigReader(ServerInstance);
}
virtual ~ModuleOperjoin()