diff options
Diffstat (limited to 'utilities.cpp')
-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);
}
}
|