summaryrefslogtreecommitdiff
path: root/plugins/NoHistory
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-01-20 19:32:28 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-01-20 19:32:28 +0300
commit999d22f6c3c618cde52097547e53703664d7e665 (patch)
tree651589d4660b8346729c12f0bea93d0570fba1e3 /plugins/NoHistory
parent601ec263ad0887d7a8a090badc3c77cfcb24f0d5 (diff)
db_event_delete: unused parameter removed
Diffstat (limited to 'plugins/NoHistory')
-rw-r--r--plugins/NoHistory/src/dllmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NoHistory/src/dllmain.cpp b/plugins/NoHistory/src/dllmain.cpp
index bc1a257072..21bdc3dec3 100644
--- a/plugins/NoHistory/src/dllmain.cpp
+++ b/plugins/NoHistory/src/dllmain.cpp
@@ -69,7 +69,7 @@ void RemoveReadEvents(MCONTACT hContact = 0)
if (remove) {
if (g_plugin.getByte(node->hContact, DBSETTING_REMOVE)) // is history disabled for this contact?
- db_event_delete(node->hContact, node->hDBEvent);
+ db_event_delete(node->hDBEvent);
// remove list node anyway
if (event_list == node) event_list = node->next;
@@ -92,7 +92,7 @@ void RemoveAllEvents(MCONTACT hContact)
MEVENT hDBEvent = db_event_first(hContact);
while(hDBEvent) {
MEVENT hDBEventNext = db_event_next(hContact, hDBEvent);
- db_event_delete(hContact, hDBEvent);
+ db_event_delete(hDBEvent);
hDBEvent = hDBEventNext;
}
}