diff options
Diffstat (limited to 'src/modules/m_commonchans.cpp')
-rw-r--r-- | src/modules/m_commonchans.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_commonchans.cpp b/src/modules/m_commonchans.cpp index 4cc11b725..c9225e1b7 100644 --- a/src/modules/m_commonchans.cpp +++ b/src/modules/m_commonchans.cpp @@ -52,7 +52,7 @@ class ModulePrivacyMode : public Module ModulePrivacyMode(InspIRCd* Me) : Module(Me) { pm = new PrivacyMode(ServerInstance); - if (!ServerInstance->AddMode(pm, 'c')) + if (!ServerInstance->AddMode(pm)) throw ModuleException("Could not add new modes!"); } |