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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TipperYM/src/tipper.cpp b/plugins/TipperYM/src/tipper.cpp
index c3161b17dc..91ef259fa6 100644
--- a/plugins/TipperYM/src/tipper.cpp
+++ b/plugins/TipperYM/src/tipper.cpp
@@ -111,9 +111,9 @@ int SettingChanged(WPARAM wParam, LPARAM lParam)
int EventDeleted(WPARAM wParam, LPARAM lParam)
{
DBEVENTINFO dbei = { sizeof(dbei) };
- if ( !db_event_get((HANDLE)lParam, &dbei))
+ if (!db_event_get((HANDLE)lParam, &dbei))
if (dbei.eventType == EVENTTYPE_MESSAGE)
- db_unset((HANDLE)wParam, MODULE, "LastCountTS");
+ db_unset((HCONTACT)wParam, MODULE, "LastCountTS");
return 0;
}