aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/sb.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/msn/sb.c')
-rw-r--r--protocols/msn/sb.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/protocols/msn/sb.c b/protocols/msn/sb.c
index f9c755a5..f7007d32 100644
--- a/protocols/msn/sb.c
+++ b/protocols/msn/sb.c
@@ -221,7 +221,7 @@ void msn_sb_destroy( struct msn_switchboard *sb )
}
g_slist_free( sb->msgq );
- serv_got_crap( ic, "Warning: Closing down MSN switchboard connection with "
+ imc_log( ic, "Warning: Closing down MSN switchboard connection with "
"unsent message to %s, you'll have to resend it.",
sb->who ? sb->who : "(unknown)" );
}
@@ -320,8 +320,8 @@ static int msn_sb_command( gpointer data, char **cmd, int num_parts )
if( strcmp( cmd[0], "XFR" ) == 0 )
{
- hide_login_progress_error( ic, "Received an XFR from a switchboard server, unable to comply! This is likely to be a bug, please report it!" );
- signoff( ic );
+ imc_error( ic, "Received an XFR from a switchboard server, unable to comply! This is likely to be a bug, please report it!" );
+ imc_logout( ic );
return( 0 );
}
else if( strcmp( cmd[0], "USR" ) == 0 )
@@ -527,8 +527,7 @@ static int msn_sb_command( gpointer data, char **cmd, int num_parts )
int num = atoi( cmd[0] );
const struct msn_status_code *err = msn_status_by_number( num );
- g_snprintf( buf, sizeof( buf ), "Error reported by switchboard server: %s", err->text );
- do_error_dialog( ic, buf, "MSN" );
+ imc_error( ic, "Error reported by switchboard server: %s", err->text );
if( err->flags & STATUS_SB_FATAL )
{
@@ -537,7 +536,7 @@ static int msn_sb_command( gpointer data, char **cmd, int num_parts )
}
else if( err->flags & STATUS_FATAL )
{
- signoff( ic );
+ imc_logout( ic );
return 0;
}
else if( err->flags & STATUS_SB_IM_SPARE )