Changeset 3dc6d86


Ignore:
Timestamp:
2010-06-02T08:47:18Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
1fdb0a4, 3759849, f277225
Parents:
ba3233c
Message:

Disable old-style ICQ authentication. It looks like AOL or whoever is slowly
taking down support for it. Just to be sure, it can be re-enabled with a
setting, I'll remove that after the next release.

Location:
protocols/oscar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/oscar/auth.c

    rba3233c r3dc6d86  
    120120        aim_snacid_t snacid;
    121121        aim_tlvlist_t *tl = NULL;
     122        struct im_connection *ic = sess->aux_data;
    122123       
    123124        if (!sess || !conn || !sn)
    124125                return -EINVAL;
    125126
    126         if ((sn[0] >= '0') && (sn[0] <= '9'))
     127        if (isdigit(sn[0]) && set_getbool(&ic->acc->set, "old_icq_auth"))
    127128                return goddamnicq(sess, conn, sn);
    128129
  • protocols/oscar/oscar.c

    rba3233c r3dc6d86  
    374374        if (isdigit(acc->user[0])) {
    375375                set_add(&acc->set, "ignore_auth_requests", "false", set_eval_bool, acc);
     376                set_add(&acc->set, "old_icq_auth", "false", set_eval_bool, acc);
    376377        }
    377378       
Note: See TracChangeset for help on using the changeset viewer.