summaryrefslogtreecommitdiff
path: root/src/modules/m_dccallow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r--src/modules/m_dccallow.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp
index a25d553d1..10a8d9310 100644
--- a/src/modules/m_dccallow.cpp
+++ b/src/modules/m_dccallow.cpp
@@ -239,10 +239,10 @@ class ModuleDCCAllow : public Module
CommandDccallow cmd;
public:
- ModuleDCCAllow(InspIRCd* Me)
- : Module(Me), cmd(this)
+ ModuleDCCAllow()
+ : cmd(this)
{
- Conf = new ConfigReader(ServerInstance);
+ Conf = new ConfigReader;
ext = new SimpleExtItem<dccallowlist>("dccallow", this);
Extensible::Register(ext);
ServerInstance->AddCommand(&cmd);
@@ -255,7 +255,7 @@ class ModuleDCCAllow : public Module
virtual void OnRehash(User* user)
{
delete Conf;
- Conf = new ConfigReader(ServerInstance);
+ Conf = new ConfigReader;
ReadFileConf();
}