aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-01-05 19:03:02 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2008-01-05 19:03:02 +0000
commit3585c5aa1770147dd4a75a5283793d7908573011 (patch)
tree69056278f127a39a9ce00c2f51ed7908186a3f4a
parentf394500c46003237373a47c5a1dcb4af16029e4d (diff)
Added handling of MSN switchboard NAK messages. Untested, but hey, it
compiles! (And it's pretty trivial...)
-rw-r--r--protocols/msn/sb.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/protocols/msn/sb.c b/protocols/msn/sb.c
index cb9e2cab..557f4f16 100644
--- a/protocols/msn/sb.c
+++ b/protocols/msn/sb.c
@@ -490,6 +490,17 @@ static int msn_sb_command( gpointer data, char **cmd, int num_parts )
return( 0 );
}
}
+ else if( strcmp( cmd[0], "NAK" ) == 0 )
+ {
+ if( sb->who )
+ {
+ imcb_log( ic, "The MSN servers could not deliver one of your messages to %s.", sb->who );
+ }
+ else
+ {
+ imcb_log( ic, "The MSN servers could not deliver one of your groupchat messages to all participants." );
+ }
+ }
else if( strcmp( cmd[0], "BYE" ) == 0 )
{
if( num_parts < 2 )