diff options
Diffstat (limited to 'src/modules/m_noinvite.cpp')
-rw-r--r-- | src/modules/m_noinvite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp index 5447d0d60..a276f6e35 100644 --- a/src/modules/m_noinvite.cpp +++ b/src/modules/m_noinvite.cpp @@ -51,7 +51,7 @@ class ModuleNoInvite : public Module ModuleNoInvite(InspIRCd* Me) : Module(Me) { ni = new NoInvite(ServerInstance); - if (!ServerInstance->AddMode(ni, 'V')) + if (!ServerInstance->AddMode(ni)) throw ModuleException("Could not add new modes!"); } |