diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2008-01-10 00:31:38 +0000 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2008-01-10 00:31:38 +0000 | 
| commit | 181e47a9693d56e4bc0cec65ec05fce6086aebe8 (patch) | |
| tree | e68ec7a789006f71b1e413aee7d0e9b19fa475ad /protocols/oscar | |
| parent | 434627083613f016d432462fce73f728dd77172e (diff) | |
Now setting odata->icq properly again, this got lost some time ago, which
broke the info command and probably more things.
Diffstat (limited to 'protocols/oscar')
| -rw-r--r-- | protocols/oscar/oscar.c | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/protocols/oscar/oscar.c b/protocols/oscar/oscar.c index c4683046..980beaca 100644 --- a/protocols/oscar/oscar.c +++ b/protocols/oscar/oscar.c @@ -355,9 +355,10 @@ static void oscar_login(account_t *acc) {  	struct im_connection *ic = imcb_new(acc);  	struct oscar_data *odata = ic->proto_data = g_new0(struct oscar_data, 1); -	if (!isdigit(acc->user[0])) { +	if (isdigit(acc->user[0])) +		odata->icq = TRUE; +	else  		ic->flags |= OPT_DOES_HTML; -	}  	sess = g_new0(aim_session_t, 1); | 
