aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Cache.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp
index ae07f9d..2a09591 100644
--- a/src/Cache.cpp
+++ b/src/Cache.cpp
@@ -293,7 +293,8 @@ namespace dchat
break;
}
default:
- break;
+ ++it;
+ continue;
}
it = contentUrlCache.erase(it);
}