diff options
Diffstat (limited to 'plugins/StopSpamMod/src')
-rwxr-xr-x | plugins/StopSpamMod/src/utilities.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp index ac092f927d..e4a7793514 100755 --- a/plugins/StopSpamMod/src/utilities.cpp +++ b/plugins/StopSpamMod/src/utilities.cpp @@ -374,8 +374,9 @@ void HistoryLogFunc(HCONTACT hContact, std::string message) {
if(gbHistoryLog)
{
- if(hContact == INVALID_HANDLE_VALUE)
+ if(hContact == (HCONTACT)INVALID_HANDLE_VALUE)
return;
+
std::string msg = message;
msg.append("\n");
msg.append("Protocol: ").append(GetContactProto(hContact)).append(" Contact: ");
|