diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-13 15:39:09 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-13 15:39:09 +0000 |
commit | d8877eb74fc436cfd9c89445b4e2da3c7188e840 (patch) | |
tree | 17c8bf06e309ee51395793bb9c9ce555affc801d | |
parent | d5ed44d65c041f945484e5c2ff682b121aa64c90 (diff) |
use --iter instead of iter-- in prunewhowas
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5738 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |