summaryrefslogtreecommitdiff
path: root/plugins/AVS/src/cache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AVS/src/cache.cpp')
-rw-r--r--plugins/AVS/src/cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AVS/src/cache.cpp b/plugins/AVS/src/cache.cpp
index 6b4ac7417e..1823bdef10 100644
--- a/plugins/AVS/src/cache.cpp
+++ b/plugins/AVS/src/cache.cpp
@@ -80,7 +80,7 @@ CacheNode* FindAvatarInCache(MCONTACT hContact, bool add, bool findAny)
mir_cslock lck(cachecs);
cc = arCache.find((CacheNode*)&hContact);
if (cc) {
- cc->t_lastAccess = time(nullptr);
+ cc->t_lastAccess = time(0);
return (cc->loaded || findAny) ? cc : nullptr;
}