summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/dbevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/dbevent.cpp')
-rw-r--r--plugins/SecureIM/src/dbevent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SecureIM/src/dbevent.cpp b/plugins/SecureIM/src/dbevent.cpp
index a072dd108c..a809314640 100644
--- a/plugins/SecureIM/src/dbevent.cpp
+++ b/plugins/SecureIM/src/dbevent.cpp
@@ -3,7 +3,7 @@
void HistoryLog(MCONTACT hContact, LPCSTR szText)
{
DBEVENTINFO dbei = {};
- dbei.szModule = GetContactProto(hContact);
+ dbei.szModule = Proto_GetBaseAccountName(hContact);
dbei.flags = DBEF_SENT | DBEF_READ;
dbei.timestamp = time(0);
dbei.eventType = EVENTTYPE_MESSAGE;