summaryrefslogtreecommitdiff
path: root/src/modules/m_botmode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_botmode.cpp')
-rw-r--r--src/modules/m_botmode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp
index b055c83ee..18a594c31 100644
--- a/src/modules/m_botmode.cpp
+++ b/src/modules/m_botmode.cpp
@@ -55,7 +55,7 @@ class ModuleBotMode : public Module
{
bm = new BotMode(ServerInstance);
- if (!ServerInstance->AddMode(bm, 'B'))
+ if (!ServerInstance->AddMode(bm))
throw ModuleException("Could not add new modes!");
}