diff options
Diffstat (limited to 'protocols/jabber/io.c')
-rw-r--r-- | protocols/jabber/io.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/protocols/jabber/io.c b/protocols/jabber/io.c index 6f79b2d1..a8f7d09f 100644 --- a/protocols/jabber/io.c +++ b/protocols/jabber/io.c @@ -505,6 +505,11 @@ static xt_status jabber_pkt_stream_error( struct xt_node *node, gpointer data ) imcb_error( ic, "Account and resource used from a different location" ); allow_reconnect = FALSE; } + else if( strcmp( err->code, "not-authorized" ) == 0 ) + { + imcb_error( ic, "Not authorized" ); + allow_reconnect = FALSE; + } else { imcb_error( ic, "Stream error: %s%s%s", err->code, err->text ? ": " : "", |