diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-23 22:26:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-23 22:26:29 +0000 |
commit | 259bd5726faf89964ff6ee7ec0858d39ff6ac170 (patch) | |
tree | 1d9bd0cfe28473f338a1028174dd2ee4ee3bcb3f /src/modules/chat/tools.cpp | |
parent | 9937bcdb0f78a8c8c3893a8afb0f5808cd6d1e3d (diff) |
fix for chat logs & Folders
git-svn-id: http://svn.miranda-ng.org/main/trunk@7845 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat/tools.cpp')
-rw-r--r-- | src/modules/chat/tools.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/modules/chat/tools.cpp b/src/modules/chat/tools.cpp index 5574f49e86..23980a5e91 100644 --- a/src/modules/chat/tools.cpp +++ b/src/modules/chat/tools.cpp @@ -801,7 +801,10 @@ TCHAR* GetChatLogsFilename(SESSION_INFO *si, time_t tTime) dat.hContact = si->hContact;
dat.variables = rva;
TCHAR *tszParsedName = (TCHAR*)CallService(MS_UTILS_REPLACEVARS, (WPARAM)ptszVarPath, (LPARAM)&dat);
- PathToAbsoluteT(tszParsedName, si->pszLogFileName);
+ if (ci.OnGetLogName)
+ ci.OnGetLogName(si, tszParsedName);
+ else
+ PathToAbsoluteT(tszParsedName, si->pszLogFileName);
mir_free(tszParsedName);
for (int i = 0; i < SIZEOF(rva); i++)
|