summaryrefslogtreecommitdiff
path: root/src/modules/m_inviteexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_inviteexception.cpp')
-rw-r--r--src/modules/m_inviteexception.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp
index 9c7573185..e961c7483 100644
--- a/src/modules/m_inviteexception.cpp
+++ b/src/modules/m_inviteexception.cpp
@@ -52,6 +52,10 @@ class ModuleInviteException : public Module
public:
ModuleInviteException() : ie(this)
{
+ }
+
+ void init()
+ {
if (!ServerInstance->Modes->AddMode(&ie))
throw ModuleException("Could not add new modes!");