summaryrefslogtreecommitdiff
path: root/src/modules/m_namedmodes.cpp
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-04 20:43:07 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-02-04 20:43:07 +0000
commited022ecb624c81d23a5f2780aa061f80b5d221b4 (patch)
treef86ce1c12b03158d668df0c31c1981fbed6e568c /src/modules/m_namedmodes.cpp
parent4d2afdd74496baa4cb178748318c4302d799b21e (diff)
Config updates from jdhore
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12375 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_namedmodes.cpp')
-rw-r--r--src/modules/m_namedmodes.cpp2
1 files changed, 1 insertions, 1 deletions
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())
{