summaryrefslogtreecommitdiff
path: root/src/modules/m_connflood.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_connflood.cpp')
-rw-r--r--src/modules/m_connflood.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp
index 85ea0a84d..d6a23344e 100644
--- a/src/modules/m_connflood.cpp
+++ b/src/modules/m_connflood.cpp
@@ -41,9 +41,9 @@ private:
Server *Srv;
public:
- ModuleConnFlood(Server* Me) : Module::Module(Me)
+ ModuleConnFlood(InspIRCd* Me) : Module::Module(Me)
{
- Srv = Me;
+
InitConf();
}
@@ -138,7 +138,7 @@ public:
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleConnFlood(Me);
}