diff options
Diffstat (limited to 'protocols/msn/msn.c')
-rw-r--r-- | protocols/msn/msn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/msn/msn.c b/protocols/msn/msn.c index f6d85a4f..dbacb413 100644 --- a/protocols/msn/msn.c +++ b/protocols/msn/msn.c @@ -185,7 +185,7 @@ static void msn_set_away(struct im_connection *ic, char *state, char *message) statecode = (char *) md->away_state->code; nick = set_getstr(&ic->acc->set, "display_name"); psm = message ? message : ""; - idle = strcmp(statecode, "IDL") ? "false" : "true"; + idle = (strcmp(statecode, "IDL") == 0) ? "false" : "true"; body = g_markup_printf_escaped(MSN_PUT_USER_BODY, nick, psm, psm, md->uuid, statecode, md->uuid, idle, statecode, |