summaryrefslogtreecommitdiff
path: root/src/modules/m_nickflood.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_nickflood.cpp')
-rw-r--r--src/modules/m_nickflood.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_nickflood.cpp b/src/modules/m_nickflood.cpp
index cd9d76c5b..181bbaa4c 100644
--- a/src/modules/m_nickflood.cpp
+++ b/src/modules/m_nickflood.cpp
@@ -215,7 +215,7 @@ class ModuleNickFlood : public Module
{
jf = new NickFlood(ServerInstance);
- if (!ServerInstance->AddMode(jf, 'F'))
+ if (!ServerInstance->AddMode(jf))
throw ModuleException("Could not add new modes!");
}