From ed022ecb624c81d23a5f2780aa061f80b5d221b4 Mon Sep 17 00:00:00 2001 From: danieldg Date: Thu, 4 Feb 2010 20:43:07 +0000 Subject: Config updates from jdhore git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12375 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_namedmodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_namedmodes.cpp b/src/modules/m_namedmodes.cpp index 00bb859d4..4d2363c4d 100644 --- a/src/modules/m_namedmodes.cpp +++ b/src/modules/m_namedmodes.cpp @@ -129,7 +129,7 @@ class ModuleNamedModes : public Module if (modechar) modelist[i] = modechar; else - modelist.erase(i, 1); + modelist.erase(i--, 1); } else if (mh && mh->GetNumParams(adding) && param_at < parameters.size()) { -- cgit v1.2.3