Changeset 75e49de for protocols/msn


Ignore:
Timestamp:
2015-03-19T10:29:43Z (10 years ago)
Author:
dequis <dx@…>
Children:
65418c59
Parents:
89e0c94
Message:

msn_set_away: fix strcmp check for idle

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn.c

    r89e0c94 r75e49de  
    186186        nick = set_getstr(&ic->acc->set, "display_name");
    187187        psm = message ? message : "";
    188         idle = strcmp(statecode, "IDL") ? "false" : "true";
     188        idle = (strcmp(statecode, "IDL") == 0) ? "false" : "true";
    189189
    190190        body = g_markup_printf_escaped(MSN_PUT_USER_BODY,
Note: See TracChangeset for help on using the changeset viewer.