summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.cpp2
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 {