src/protocols/msn/msn.c

changeset 2887
3f0804928c3f
parent 2870
07c39370b585
child 2888
da91ce64ea66
equal deleted inserted replaced
2886:1a9bc2744f49 2887:3f0804928c3f
946 status |= UC_UNAVAILABLE | (MSN_LUNCH << 1); 946 status |= UC_UNAVAILABLE | (MSN_LUNCH << 1);
947 } 947 }
948 948
949 serv_got_update(gc, user, 1, 0, 0, 0, status, 0); 949 serv_got_update(gc, user, 1, 0, 0, 0, status, 0);
950 } else if (!g_strncasecmp(buf, "OUT", 3)) { 950 } else if (!g_strncasecmp(buf, "OUT", 3)) {
951 char *tmp = buf;
952 static char msg[MSN_BUF_LEN];
953
954 GET_NEXT(tmp);
955 if (!g_strncasecmp(tmp, "OTH", 3)) {
956 g_snprintf(msg, sizeof(mg), _("You have been disconnected. You have signed on from another location."));
957 do_error_dialog(msg, _("MSN Error"));
958 }
951 } else if (!g_strncasecmp(buf, "PRP", 3)) { 959 } else if (!g_strncasecmp(buf, "PRP", 3)) {
952 } else if (!g_strncasecmp(buf, "QNG", 3)) { 960 } else if (!g_strncasecmp(buf, "QNG", 3)) {
953 } else if (!g_strncasecmp(buf, "QRY", 3)) { 961 } else if (!g_strncasecmp(buf, "QRY", 3)) {
954 } else if (!g_strncasecmp(buf, "REA", 3)) { 962 } else if (!g_strncasecmp(buf, "REA", 3)) {
955 char *friend, *tmp = buf; 963 char *friend, *tmp = buf;

mercurial