diff options
Diffstat (limited to 'src/modules/m_inviteexception.cpp')
-rw-r--r-- | src/modules/m_inviteexception.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp index 67fda5637..747a3b30a 100644 --- a/src/modules/m_inviteexception.cpp +++ b/src/modules/m_inviteexception.cpp @@ -56,8 +56,7 @@ public: void init() { - if (!ServerInstance->Modes->AddMode(&ie)) - throw ModuleException("Could not add new modes!"); + ServerInstance->Modules->AddService(ie); OnRehash(NULL); ie.DoImplements(this); |