summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/mirandahistory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/HistoryStats/src/mirandahistory.cpp')
-rw-r--r--plugins/HistoryStats/src/mirandahistory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/HistoryStats/src/mirandahistory.cpp b/plugins/HistoryStats/src/mirandahistory.cpp
index e2488cc4ee..63a6c84ab9 100644
--- a/plugins/HistoryStats/src/mirandahistory.cpp
+++ b/plugins/HistoryStats/src/mirandahistory.cpp
@@ -60,7 +60,7 @@ void MirandaHistory::readContacts()
for (auto &hContact : Contacts()) {
db.setContact(hContact);
- const char* pProtoName = GetContactProto(hContact);
+ const char* pProtoName = Proto_GetBaseAccountName(hContact);
// ignore because of bad or not loaded protocol?
if (!pProtoName)