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