summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src/tipper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TipperYM/src/tipper.cpp')
-rw-r--r--plugins/TipperYM/src/tipper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TipperYM/src/tipper.cpp b/plugins/TipperYM/src/tipper.cpp
index 52ea8a876f..e49d0de5c5 100644
--- a/plugins/TipperYM/src/tipper.cpp
+++ b/plugins/TipperYM/src/tipper.cpp
@@ -113,7 +113,7 @@ int EventDeleted(WPARAM wParam, LPARAM lParam)
DBEVENTINFO dbei = { sizeof(dbei) };
if (!db_event_get((HANDLE)lParam, &dbei))
if (dbei.eventType == EVENTTYPE_MESSAGE)
- db_unset((MCONTACT)wParam, MODULE, "LastCountTS");
+ db_unset(wParam, MODULE, "LastCountTS");
return 0;
}