summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/GlobalSearch.pas
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryPlusPlus/GlobalSearch.pas')
-rw-r--r--plugins/HistoryPlusPlus/GlobalSearch.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryPlusPlus/GlobalSearch.pas b/plugins/HistoryPlusPlus/GlobalSearch.pas
index 6cd4e103eb..2ae098591a 100644
--- a/plugins/HistoryPlusPlus/GlobalSearch.pas
+++ b/plugins/HistoryPlusPlus/GlobalSearch.pas
@@ -1105,7 +1105,7 @@ var
begin
si := GetSearchItem(Index);
if (FormState = gsDelete) and (si.hDBEvent <> 0) then
- db_event_delete(si.Contact.Handle, si.hDBEvent);
+ db_event_delete(si.hDBEvent);
if FFiltered then
Index := FilterHistory[Index];
DeleteEventFromLists(Index);