summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/mirandacontact.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/mirandacontact.cpp')
-rw-r--r--plugins/HistoryStats/src/mirandacontact.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/mirandacontact.cpp b/plugins/HistoryStats/src/mirandacontact.cpp
index ee967f1065..4e9ddc482a 100644
--- a/plugins/HistoryStats/src/mirandacontact.cpp
+++ b/plugins/HistoryStats/src/mirandacontact.cpp
@@ -36,7 +36,7 @@ void MirandaContact::fetchSlot(int i)
stripMetaID(ei.dbe);
- ci.hEvent = db_event_next(ci.hEvent);
+ ci.hEvent = db_event_next(ci.hContact, ci.hEvent);
}
void MirandaContact::stripMetaID(DBEVENTINFO& dbe)