summaryrefslogtreecommitdiff
path: root/src/modules/m_operinvex.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 14:17:24 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-22 14:17:24 +0000
commitc68d2cb200c01b95017cf88d8b4f0fb96d5e97b8 (patch)
tree2f24418f69cb3a7d31ec6f3c15cae2381230afd4 /src/modules/m_operinvex.cpp
parent93f7ee5268d7c953108355597d4a888c8a245671 (diff)
Fix bug #678 reported by Ankit (opertype invex wasn't working, as I failed and forgot to hook the damn event.)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10978 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_operinvex.cpp')
-rw-r--r--src/modules/m_operinvex.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_operinvex.cpp b/src/modules/m_operinvex.cpp
index 8f01e1bfe..fda38fb8c 100644
--- a/src/modules/m_operinvex.cpp
+++ b/src/modules/m_operinvex.cpp
@@ -24,8 +24,8 @@ class ModuleOperInvex : public Module
public:
ModuleOperInvex(InspIRCd* Me) : Module(Me)
{
- Implementation eventlist[] = { I_OnUserPreJoin, I_On005Numeric };
- ServerInstance->Modules->Attach(eventlist, this, 2);
+ Implementation eventlist[] = { I_OnUserPreJoin, I_On005Numeric, I_OnCheckInvite };
+ ServerInstance->Modules->Attach(eventlist, this, 3);
}
virtual ~ModuleOperInvex()