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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_denychans.cpp b/src/modules/m_denychans.cpp
index 254cfdcc1..7a05c0513 100644
--- a/src/modules/m_denychans.cpp
+++ b/src/modules/m_denychans.cpp
@@ -31,9 +31,9 @@ class ModuleDenyChannels : public Module
ConfigReader *Conf;
public:
- ModuleDenyChannels(Server* Me) : Module::Module(Me)
+ ModuleDenyChannels(InspIRCd* Me) : Module::Module(Me)
{
- Srv = Me;
+
Conf = new ConfigReader;
}
@@ -95,7 +95,7 @@ class ModuleDenyChannelsFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleDenyChannels(Me);
}