From d8877eb74fc436cfd9c89445b4e2da3c7188e840 Mon Sep 17 00:00:00 2001 From: peavey Date: Mon, 13 Nov 2006 15:39:09 +0000 Subject: use --iter instead of iter-- in prunewhowas git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5738 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/users.cpp b/src/users.cpp index d2e632b10..31264570f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -910,7 +910,7 @@ namespace irc ServerInstance->whowas.erase(iter->second); /* use a safe iter copy for erase and set the orig iter old valid ref by decrementing it */ safeiter = iter; - iter--; + --iter; ServerInstance->whowas_fifo.erase(safeiter); } else { -- cgit v1.2.3