aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/nogaim.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2006-03-18 09:33:33 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2006-03-18 09:33:33 +0100
commit61dddd0442c0e3c792cf90368c00681051b381a5 (patch)
tree61bb3c9410ba75ec2f3b4c9f44e3dbcfeeb30797 /protocols/nogaim.c
parent8ba511db7b32975df97247474782f82d6a3906f9 (diff)
Fixed #111, Jabber away states get set correctly at connect-time now.
Diffstat (limited to 'protocols/nogaim.c')
-rw-r--r--protocols/nogaim.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/nogaim.c b/protocols/nogaim.c
index b0c357db..24b74dc9 100644
--- a/protocols/nogaim.c
+++ b/protocols/nogaim.c
@@ -363,7 +363,9 @@ void account_online( struct gaim_connection *gc )
gc->keepalive = g_timeout_add( 60000, send_keepalive, gc );
gc->flags |= OPT_LOGGED_IN;
- if( u && u->away ) proto_away( gc, u->away );
+ /* Also necessary when we're not away, at least for some of the
+ protocols. */
+ proto_away( gc, u->away );
if( strcmp( gc->prpl->name, "ICQ" ) == 0 )
{