aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/msn/ns.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2011-11-26 18:41:24 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2011-11-26 18:41:24 +0000
commitc77406ae3fd357c3d2eabd36ec524e049e265857 (patch)
tree3902ff0f9521dbe9be91c2d211b5c35fc687a441 /protocols/msn/ns.c
parent3bd2f17754009d84df1aeb60cfa1d3510182e87c (diff)
MSN: No clue if the OUT command can specify other reasons, but if so, show
it to the user.
Diffstat (limited to 'protocols/msn/ns.c')
-rw-r--r--protocols/msn/ns.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/msn/ns.c b/protocols/msn/ns.c
index 604e2f4e..e144a8d2 100644
--- a/protocols/msn/ns.c
+++ b/protocols/msn/ns.c
@@ -479,7 +479,8 @@ static int msn_ns_command( struct msn_handler_data *handler, char **cmd, int num
}
else
{
- imcb_error( ic, "Session terminated by remote server (reason unknown)" );
+ imcb_error( ic, "Session terminated by remote server (%s)",
+ cmd[1] ? cmd[1] : "reason unknown)" );
}
imc_logout( ic, allow_reconnect );