diff options
Diffstat (limited to 'src/modules/m_operjoin.cpp')
-rw-r--r-- | src/modules/m_operjoin.cpp | 4 |
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 ¶meter) { DELETE(conf); - conf = new ConfigReader; + conf = new ConfigReader(ServerInstance); } virtual ~ModuleOperjoin() |