summaryrefslogtreecommitdiff
path: root/src/modules/m_nokicks.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_nokicks.cpp')
-rw-r--r--src/modules/m_nokicks.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp
index be06cd79c..e58366fbf 100644
--- a/src/modules/m_nokicks.cpp
+++ b/src/modules/m_nokicks.cpp
@@ -62,10 +62,10 @@ class ModuleNoKicks : public Module
public:
- ModuleNoKicks(Server* Me)
+ ModuleNoKicks(InspIRCd* Me)
: Module::Module(Me)
{
- Srv = Me;
+
nk = new NoKicks(ServerInstance);
Srv->AddMode(nk, 'Q');
}
@@ -125,7 +125,7 @@ class ModuleNoKicksFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleNoKicks(Me);
}