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 8f8535eea1..4306806568 100644
--- a/src/modules/chat/clist.cpp
+++ b/src/modules/chat/clist.cpp
@@ -93,7 +93,7 @@ BOOL SetAllOffline(BOOL bHide, const char *pszModule)
continue;
int i = db_get_b(hContact, szProto, "ChatRoom", 0);
if (i != 0) {
- db_set_w(hContact, szProto, "ApparentMode", (LPARAM)(WORD)0);
+ db_set_w(hContact, szProto, "ApparentMode", 0);
db_set_w(hContact, szProto, "Status", ID_STATUS_OFFLINE);
}
}