summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/EventList.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/BasicHistory/src/EventList.h')
-rw-r--r--plugins/BasicHistory/src/EventList.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BasicHistory/src/EventList.h b/plugins/BasicHistory/src/EventList.h
index 36628ff278..cfb76e4779 100644
--- a/plugins/BasicHistory/src/EventList.h
+++ b/plugins/BasicHistory/src/EventList.h
@@ -96,7 +96,7 @@ protected:
void DeleteEvent(const EventIndex& ev)
{
if(!ev.isExternal)
- CallService(MS_DB_EVENT_DELETE,(WPARAM)hContact,(LPARAM)(HANDLE)ev.hEvent);
+ db_event_delete(hContact, ev.hEvent);
}
void RebuildGroup(int selected);