summaryrefslogtreecommitdiff
path: root/plugins/HistorySweeperLight/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistorySweeperLight/src')
-rw-r--r--plugins/HistorySweeperLight/src/historysweeperlight.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistorySweeperLight/src/historysweeperlight.cpp b/plugins/HistorySweeperLight/src/historysweeperlight.cpp
index 91c3478011..d74dbfeadc 100644
--- a/plugins/HistorySweeperLight/src/historysweeperlight.cpp
+++ b/plugins/HistorySweeperLight/src/historysweeperlight.cpp
@@ -179,7 +179,7 @@ void SweepHistoryFromContact(MCONTACT hContact, CriteriaStruct Criteria, BOOL ke
// find next event
MEVENT hDBEventNext = db_event_next(hContact, hDBEvent);
if (doDelete)
- db_event_delete(hContact, hDBEvent);
+ db_event_delete(hDBEvent);
hDBEvent = hDBEventNext;
}