diff options
Diffstat (limited to 'src/modules/m_joinflood.cpp')
-rw-r--r-- | src/modules/m_joinflood.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp index 6840e155c..15cc535c0 100644 --- a/src/modules/m_joinflood.cpp +++ b/src/modules/m_joinflood.cpp @@ -216,7 +216,7 @@ class ModuleJoinFlood : public Module { jf = new JoinFlood(ServerInstance); - if (!ServerInstance->AddMode(jf, 'j')) + if (!ServerInstance->AddMode(jf)) throw ModuleException("Could not add new modes!"); } |