diff options
author | George Hazan <ghazan@miranda.im> | 2020-01-20 19:32:28 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-01-20 19:32:28 +0300 |
commit | 999d22f6c3c618cde52097547e53703664d7e665 (patch) | |
tree | 651589d4660b8346729c12f0bea93d0570fba1e3 /plugins/NoHistory/src | |
parent | 601ec263ad0887d7a8a090badc3c77cfcb24f0d5 (diff) |
db_event_delete: unused parameter removed
Diffstat (limited to 'plugins/NoHistory/src')
-rw-r--r-- | plugins/NoHistory/src/dllmain.cpp | 4 |
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;
}
}
|