summaryrefslogtreecommitdiff
path: root/src/modules/m_customprefix.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-28 00:35:37 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-28 00:35:37 +0000
commit73598f496d9f9cbcc886a87cc96f42e25c8ce531 (patch)
tree9142103b741d92c4f76b20bbf0b9e8b84558a055 /src/modules/m_customprefix.cpp
parent22f01a56afa73de5330ebcae113e9ff90a902c66 (diff)
Fix m_customprefix trying to add the first tag twice
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12571 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_customprefix.cpp')
-rw-r--r--src/modules/m_customprefix.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_customprefix.cpp b/src/modules/m_customprefix.cpp
index e31ca52e1..fd89f565d 100644
--- a/src/modules/m_customprefix.cpp
+++ b/src/modules/m_customprefix.cpp
@@ -101,6 +101,7 @@ class ModuleCustomPrefix : public Module
while (tags.first != tags.second)
{
ConfigTag* tag = tags.first->second;
+ tags.first++;
CustomPrefixMode* mh = new CustomPrefixMode(this, tag);
modes.push_back(mh);
if (mh->rank <= 0)