diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-07 15:31:07 +0100 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-06-07 15:31:07 +0100 |
commit | 4aa0f6bc5645e124738ab15ad1eb65d4147dba25 (patch) | |
tree | 0f15a76a814c33c8759c9d97253423ed12c0e1cc /protocols/oscar/auth.c | |
parent | 0d9d53ed0b3eb068cf57355a4d1465beaf191f8a (diff) | |
parent | 1fdb0a48438d6dc4a4795d195737890ed3e46a96 (diff) |
Merging killerbee stuff, bringing all the bleeding-edge stuff together.
Diffstat (limited to 'protocols/oscar/auth.c')
-rw-r--r-- | protocols/oscar/auth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/oscar/auth.c b/protocols/oscar/auth.c index eb6a9d64..0f7c8d0f 100644 --- a/protocols/oscar/auth.c +++ b/protocols/oscar/auth.c @@ -119,11 +119,12 @@ int aim_request_login(aim_session_t *sess, aim_conn_t *conn, const char *sn) aim_frame_t *fr; aim_snacid_t snacid; aim_tlvlist_t *tl = NULL; + struct im_connection *ic = sess->aux_data; if (!sess || !conn || !sn) return -EINVAL; - if ((sn[0] >= '0') && (sn[0] <= '9')) + if (isdigit(sn[0]) && set_getbool(&ic->acc->set, "old_icq_auth")) return goddamnicq(sess, conn, sn); sess->flags |= AIM_SESS_FLAGS_SNACLOGIN; |