summaryrefslogtreecommitdiff
path: root/src/modules/m_denychans.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_denychans.cpp')
-rw-r--r--src/modules/m_denychans.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp
index c823b9c1e..67a7aaca6 100644
--- a/src/modules/m_denychans.cpp
+++ b/src/modules/m_denychans.cpp
@@ -34,13 +34,13 @@ class ModuleDenyChannels : public Module
ModuleDenyChannels(InspIRCd* Me) : Module::Module(Me)
{
- Conf = new ConfigReader;
+ Conf = new ConfigReader(ServerInstance);
}
virtual void OnRehash(const std::string &param)
{
DELETE(Conf);
- Conf = new ConfigReader;
+ Conf = new ConfigReader(ServerInstance);
}
virtual ~ModuleDenyChannels()