summaryrefslogtreecommitdiff
path: root/src/modules/chat
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/chat')
-rw-r--r--src/modules/chat/clist.cpp2
-rw-r--r--src/modules/chat/tools.cpp2
2 files changed, 2 insertions, 2 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);
}
}
diff --git a/src/modules/chat/tools.cpp b/src/modules/chat/tools.cpp
index e20b59111f..fd4044515f 100644
--- a/src/modules/chat/tools.cpp
+++ b/src/modules/chat/tools.cpp
@@ -332,7 +332,7 @@ BOOL DoSoundsFlashPopupTrayStuff(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight
if (bInactive && !(si->wState & STATE_TALK)) {
si->wState |= STATE_TALK;
- db_set_w(si->hContact, si->pszModule, "ApparentMode", (LPARAM)(WORD)40071);
+ db_set_w(si->hContact, si->pszModule, "ApparentMode", ID_STATUS_OFFLINE);
}
if (ci.OnFlashWindow)
ci.OnFlashWindow(si, bInactive);