summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)