summaryrefslogtreecommitdiff
path: root/src/modules/m_hidechans.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_hidechans.cpp')
-rw-r--r--src/modules/m_hidechans.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp
index 2637968a9..42614e937 100644
--- a/src/modules/m_hidechans.cpp
+++ b/src/modules/m_hidechans.cpp
@@ -59,7 +59,7 @@ class ModuleHideChans : public Module
{
hm = new HideChans(ServerInstance);
- if (!ServerInstance->AddMode(hm, 'I'))
+ if (!ServerInstance->AddMode(hm))
throw ModuleException("Could not add new modes!");
}