summaryrefslogtreecommitdiff
path: root/plugins/Spamotron/src/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Spamotron/src/utils.cpp')
-rw-r--r--plugins/Spamotron/src/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Spamotron/src/utils.cpp b/plugins/Spamotron/src/utils.cpp
index 6084dc7a4d..be49f90879 100644
--- a/plugins/Spamotron/src/utils.cpp
+++ b/plugins/Spamotron/src/utils.cpp
@@ -427,7 +427,7 @@ int _notify(MCONTACT hContact, BYTE type, wchar_t *message, wchar_t *origmessage
{
char *tmp, *tmporig;
wchar_t msg[MAX_BUFFER_LENGTH];
- mir_snwprintf(msg, message, pcli->pfnGetContactDisplayName(hContact, 0));
+ mir_snwprintf(msg, message, Clist_GetContactDisplayName(hContact));
if (_getOptB("LogActions", defaultLogActions)) {
tmp = mir_u2a(msg);