diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-24 16:16:38 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2006-03-24 16:16:38 +0100 |
commit | 728a981e422539df38d27d87e33829082d376ac6 (patch) | |
tree | 86458693b4f0f38f3695ce7fe3bcc7b1ee67c818 /protocols/msn/msn_util.c | |
parent | 96ace1b808f4df3f2106fa90c19fdc23408f924d (diff) | |
parent | 9b8a38bfa9a89e9741521ac522927c80b68976cf (diff) |
[merge] Wilmer
Diffstat (limited to 'protocols/msn/msn_util.c')
-rw-r--r-- | protocols/msn/msn_util.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/protocols/msn/msn_util.c b/protocols/msn/msn_util.c index e5f0b2c9..5cda9f1c 100644 --- a/protocols/msn/msn_util.c +++ b/protocols/msn/msn_util.c @@ -45,19 +45,8 @@ int msn_write( struct gaim_connection *gc, char *s, int len ) int msn_logged_in( struct gaim_connection *gc ) { - struct msn_data *md = gc->proto_data; - char buf[1024]; - account_online( gc ); - /* account_online() sets an away state if there is any, so only - execute this code if we're not away. */ - if( md->away_state == msn_away_state_list ) - { - g_snprintf( buf, sizeof( buf ), "CHG %d %s %d\r\n", ++md->trId, md->away_state->code, 0 ); - return( msn_write( gc, buf, strlen( buf ) ) ); - } - return( 0 ); } |