diff options
Diffstat (limited to 'plugins/SecureIM/src/dbevent.cpp')
-rw-r--r-- | plugins/SecureIM/src/dbevent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SecureIM/src/dbevent.cpp b/plugins/SecureIM/src/dbevent.cpp index 7b26631502..6f5f1bc80b 100644 --- a/plugins/SecureIM/src/dbevent.cpp +++ b/plugins/SecureIM/src/dbevent.cpp @@ -7,7 +7,7 @@ void HistoryLog(HANDLE hContact, LPCSTR szText) { memset(&dbei, 0, sizeof(dbei));
dbei.cbSize = sizeof(dbei);
- dbei.szModule = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
+ dbei.szModule = GetContactProto(hContact);
dbei.flags = DBEF_SENT|DBEF_READ;
dbei.timestamp = time(NULL);
dbei.eventType = EVENTTYPE_MESSAGE;
|