summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-27 11:30:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-27 11:30:41 +0000
commit140b01ba4927e7d6b85504ff740ae443b0f2df2a (patch)
tree83d534e2c2b7dc1d6a29a249d5cf1cb80bdfae5a
parent7974f6d315800c305616293a59815c77c4d9509e (diff)
Whoops, ++it++? Thats gonna break :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7162 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/u_listmode.h2
-rw-r--r--src/modules/m_chanprotect.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/u_listmode.h b/include/u_listmode.h
index eaaef9201..119559789 100644
--- a/include/u_listmode.h
+++ b/include/u_listmode.h
@@ -121,7 +121,7 @@ class ListModeBase : public ModeHandler
channel->GetExt(infokey, el);
if (el)
{
- for (modelist::reverse_iterator it = el->rbegin(); it != el->rend(); ++it++)
+ for (modelist::reverse_iterator it = el->rbegin(); it != el->rend(); ++it)
{
user->WriteServ("%s %s %s %s %s %s", listnumeric.c_str(), user->nick, channel->name, it->mask.c_str(), it->nick.c_str(), it->time.c_str());
}
diff --git a/src/modules/m_chanprotect.cpp b/src/modules/m_chanprotect.cpp
index 2921e259a..4e90b3f37 100644
--- a/src/modules/m_chanprotect.cpp
+++ b/src/modules/m_chanprotect.cpp
@@ -111,7 +111,7 @@ class FounderProtectBase
{
CUList* cl = channel->GetUsers();
std::string item = extend+std::string(channel->name);
- for (CUList::reverse_iterator i = cl->rbegin(); i != cl->rend(); i++)
+ for (CUList::reverse_iterator i = cl->rbegin(); i != cl->rend(); ++i)
{
if (i->first->GetExt(item, dummyptr))
{