diff options
Diffstat (limited to 'src/modules/m_joinflood.cpp')
-rw-r--r-- | src/modules/m_joinflood.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index 3adbb5332..7603e36d5 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -193,10 +193,10 @@ class ModuleJoinFlood : public Module public: - ModuleJoinFlood(Server* Me) + ModuleJoinFlood(InspIRCd* Me) : Module::Module(Me) { - Srv = Me; + jf = new JoinFlood(ServerInstance); Srv->AddMode(jf, 'j'); } @@ -276,7 +276,7 @@ class ModuleJoinFloodFactory : public ModuleFactory { } - virtual Module * CreateModule(Server* Me) + virtual Module * CreateModule(InspIRCd* Me) { return new ModuleJoinFlood(Me); } |