diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-11-01 18:31:21 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-11-01 18:31:21 +0200 |
commit | bd3a5350b66f00defd313357eb7cb403b0daf7de (patch) | |
tree | 8a83c3e94ec7432854547189074080abb8181668 | |
parent | 1c2ab6cfda4eb3acf2e89ddc92c177fc8ed8f7b1 (diff) |
fixes
-rw-r--r-- | utilities.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utilities.cpp b/utilities.cpp index d3938a6..b12eba4 100644 --- a/utilities.cpp +++ b/utilities.cpp @@ -476,10 +476,10 @@ void HistoryLogFunc(HANDLE hContact, std::string message) return;
std::string msg = message;
msg.append("\n");
- msg.append("Protocol: ").append((char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0)).append(" Contact:");
+ msg.append("Protocol: ").append((char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0)).append(" Contact: ");
msg.append(toUTF8((TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM) hContact, GCDNF_TCHAR))).append(" ID: ");
msg.append(toUTF8(GetContactUid(hContact,toUTF16((char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0)))));
- HistoryLog(NULL, (char*)msg.c_str(), EVENTTYPE_MESSAGE, 0);
+ HistoryLog(NULL, (char*)msg.c_str(), EVENTTYPE_MESSAGE, DBEF_READ);
}
}
|