summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clc.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-12 15:17:01 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-12 15:17:01 +0000
commit85179f507a34f211dccfdf96913caaf8bd8f637a (patch)
treee1eec00ea3ae2d9409db4adf845bb06381e79bbf /plugins/Clist_modern/src/modern_clc.cpp
parente2056d849b38b2f32556abc44abe5f50f040040f (diff)
clist_modern's cache is dark and full of terrors...
git-svn-id: http://svn.miranda-ng.org/main/trunk@8580 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clc.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp
index 6cd90055ba..9f4bf199dd 100644
--- a/plugins/Clist_modern/src/modern_clc.cpp
+++ b/plugins/Clist_modern/src/modern_clc.cpp
@@ -251,8 +251,8 @@ static int clcHookDbEventAdded(WPARAM hContact, LPARAM lParam)
DBEVENTINFO dbei = { sizeof(dbei) };
db_event_get((HANDLE)lParam, &dbei);
if (dbei.eventType == EVENTTYPE_MESSAGE && !(dbei.flags & DBEF_SENT)) {
- ClcCacheEntry *pdnce = pcli->pfnGetCacheEntry(hContact);
db_set_dw(hContact, "CList", "mf_lastmsg", dbei.timestamp);
+ ClcCacheEntry *pdnce = pcli->pfnGetCacheEntry(hContact);
if (pdnce)
pdnce->dwLastMsgTime = dbei.timestamp;
}