From 140b01ba4927e7d6b85504ff740ae443b0f2df2a Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 27 May 2007 11:30:41 +0000 Subject: Whoops, ++it++? Thats gonna break :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7162 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/u_listmode.h | 2 +- src/modules/m_chanprotect.cpp | 2 +- 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)) { -- cgit v1.2.3