summaryrefslogtreecommitdiff
path: root/src/modules/chat/clist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/chat/clist.cpp')
-rw-r--r--src/modules/chat/clist.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/chat/clist.cpp b/src/modules/chat/clist.cpp
index d548d8db2c..3709b94610 100644
--- a/src/modules/chat/clist.cpp
+++ b/src/modules/chat/clist.cpp
@@ -75,7 +75,7 @@ BOOL SetOffline(MCONTACT hContact, BOOL bHide)
{
if (hContact) {
char *szProto = GetContactProto(hContact);
- db_set_w(hContact, szProto, "ApparentMode", (LPARAM)0);
+ db_set_w(hContact, szProto, "ApparentMode", 0);
db_set_w(hContact, szProto, "Status", ID_STATUS_OFFLINE);
return TRUE;
}