From 169acfe584baa6c464119cf19491396007a9a765 Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 24 Nov 2008 14:24:39 +0000 Subject: Off-by-one without a rehash event, causes cores on load git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10823 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_operprefix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_operprefix.cpp b/src/modules/m_operprefix.cpp index 838cf5fca..5c051c916 100644 --- a/src/modules/m_operprefix.cpp +++ b/src/modules/m_operprefix.cpp @@ -112,7 +112,7 @@ class ModuleOperPrefixMode : public Module throw ModuleException("Could not add a new mode!"); Implementation eventlist[] = { I_OnPostJoin, I_OnCleanup, I_OnUserQuit, I_OnUserKick, I_OnUserPart }; - ServerInstance->Modules->Attach(eventlist, this, 6); + ServerInstance->Modules->Attach(eventlist, this, 5); } virtual void PushChanMode(Channel* channel, User* user, bool negate = false) -- cgit v1.2.3