summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msglog.cpp
diff options
context:
space:
mode:
authorDart Raiden <wowemuh@gmail.com>2016-05-23 13:34:44 +0000
committerDart Raiden <wowemuh@gmail.com>2016-05-23 13:34:44 +0000
commit439c6760bf51d44e22b7147d54e1f38ce8e1dbab (patch)
tree25d4968c7124113365382b51cfeeed9a1c491470 /plugins/Scriver/src/msglog.cpp
parentc8b51e0745cc481644752d29c1c779e14e3530bb (diff)
Scriver: fix for printing own nicks (patch from mkvreak)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16864 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/msglog.cpp')
-rw-r--r--plugins/Scriver/src/msglog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Scriver/src/msglog.cpp b/plugins/Scriver/src/msglog.cpp
index 0f8ec8a47e..137ff6ead7 100644
--- a/plugins/Scriver/src/msglog.cpp
+++ b/plugins/Scriver/src/msglog.cpp
@@ -145,7 +145,7 @@ EventData* getEventFromDB(SrmmWindowData *dat, MCONTACT hContact, MEVENT hDbEven
evt->time = dbei.timestamp;
evt->pszNick = NULL;
if (evt->dwFlags & IEEDF_SENT)
- evt->pszNickT = Contact_GetInfo(CNF_DISPLAY, NULL);
+ evt->pszNickT = Contact_GetInfo(CNF_DISPLAY, NULL, dat->szProto);
else
evt->pszNickT = mir_tstrdup(pcli->pfnGetContactDisplayName(hContact, 0));