Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/oscar.c

    r81e04e1 r545d7c0  
    11901190        aim_ssi_auth_reply(od->sess, od->conn, uin, 1, "");
    11911191        // aim_send_im_ch4(od->sess, uin, AIM_ICQMSG_AUTHGRANTED, &message);
    1192         imcb_ask_add(data->ic, uin, NULL);
     1192        if(imcb_find_buddy(data->ic, uin) == NULL)
     1193                imcb_ask_add(data->ic, uin, NULL);
    11931194       
    11941195        g_free(uin);
     
    19511952        struct oscar_data *odata = (struct oscar_data *)g->proto_data;
    19521953        if (odata->icq) {
    1953                 /** FIXME(wilmer): Hmm, lost the ability to get away msgs here, do we care to get that back?
    19541954                struct buddy *budlight = imcb_find_buddy(g, who);
    19551955                if (budlight)
     
    19571957                                if (budlight->caps & AIM_CAPS_ICQSERVERRELAY)
    19581958                                        aim_send_im_ch2_geticqmessage(odata->sess, who, (budlight->uc & 0xff80) >> 7);
    1959                 */
    19601959        } else
    19611960                aim_getinfo(odata->sess, odata->conn, who, AIM_GETINFO_AWAYMESSAGE);
     
    20952094                switch (curitem->type) {
    20962095                        case 0x0000: /* Buddy */
    2097                                 if ((curitem->name) && (!imcb_buddy_by_handle(ic, nrm))) {
     2096                                if ((curitem->name) && (!imcb_find_buddy(ic, nrm))) {
    20982097                                        char *realname = NULL;
    20992098
Note: See TracChangeset for help on using the changeset viewer.