summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-11-24 14:24:39 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-11-24 14:24:39 +0000
commit169acfe584baa6c464119cf19491396007a9a765 (patch)
tree45fe668dcd5b460efaed376171f2321a516f842d /src
parent8547cb30c17e44dc3238a0a7a5912c589d4e8190 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_operprefix.cpp2
1 files changed, 1 insertions, 1 deletions
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)