diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-01-12 11:26:00 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2013-01-12 11:26:00 +0200 |
commit | 6eb2d438641807a8281f0e5d4537ca007e7f0fc6 (patch) | |
tree | 9b055c7251aa8a90375d1d1da01f229f51635186 /messages.cpp | |
parent | d884a2fd95cd535aef2640e6a592762b3c484ed2 (diff) |
merged with miranda_ng main repo
Diffstat (limited to 'messages.cpp')
-rwxr-xr-x | messages.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/messages.cpp b/messages.cpp index 2869a89..1821035 100755 --- a/messages.cpp +++ b/messages.cpp @@ -675,7 +675,8 @@ void SendMsgSvc_func(HANDLE hContact, char *msg, DWORD flags) } if(bStripTags && bAppendTags) { - debuglog<<std::string(time_str()+": info: stripping tags in outgoing message, name: "+toUTF8((TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)hContact, GCDNF_TCHAR))); + if(bDebugLog) + debuglog<<std::string(time_str()+": info: stripping tags in outgoing message, name: "+toUTF8((TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)hContact, GCDNF_TCHAR))); strip_tags(str); } /* for(std::wstring::size_type i = str.find(_T("\r\n")); i != std::wstring::npos; i = str.find(_T("\r\n"), i+1)) |