summaryrefslogtreecommitdiff
path: root/src/modules/m_kicknorejoin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_kicknorejoin.cpp')
-rw-r--r--src/modules/m_kicknorejoin.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_kicknorejoin.cpp b/src/modules/m_kicknorejoin.cpp
index 811a51725..a9dc54a3e 100644
--- a/src/modules/m_kicknorejoin.cpp
+++ b/src/modules/m_kicknorejoin.cpp
@@ -75,10 +75,10 @@ class ModuleKickNoRejoin : public Module
public:
- ModuleKickNoRejoin(Server* Me)
+ ModuleKickNoRejoin(InspIRCd* Me)
: Module::Module(Me)
{
- Srv = Me;
+
kr = new KickRejoin(ServerInstance);
Srv->AddMode(kr, 'J');
}
@@ -194,7 +194,7 @@ class ModuleKickNoRejoinFactory : public ModuleFactory
{
}
- virtual Module * CreateModule(Server* Me)
+ virtual Module * CreateModule(InspIRCd* Me)
{
return new ModuleKickNoRejoin(Me);
}