From 73598f496d9f9cbcc886a87cc96f42e25c8ce531 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sun, 28 Feb 2010 00:35:37 +0000 Subject: 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 --- src/modules/m_customprefix.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/modules') 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) -- cgit v1.2.3