From d4a9c48cc85856b76277c20429a1dc8062ee3af3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 25 Oct 2016 07:23:26 +0200 Subject: [PATCH] relay: set status to AUTH_FAILED in case of auth failure in irc protocol (issue #825) --- ChangeLog.adoc | 2 +- src/plugins/relay/irc/relay-irc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog.adoc b/ChangeLog.adoc index dce3b7674..061809c10 100644 --- a/ChangeLog.adoc +++ b/ChangeLog.adoc @@ -24,7 +24,7 @@ Improvements:: Bug fixes:: - * relay: set status to "authentication failed" and close immediately connection in case of authentication failure in weechat protocol (issue #825) + * relay: set status to "authentication failed" and close immediately connection in case of authentication failure in weechat and irc protocols (issue #825) [[v1.6]] == Version 1.6 (2016-10-02) diff --git a/src/plugins/relay/irc/relay-irc.c b/src/plugins/relay/irc/relay-irc.c index 502a7b6b9..060727da3 100644 --- a/src/plugins/relay/irc/relay-irc.c +++ b/src/plugins/relay/irc/relay-irc.c @@ -1452,7 +1452,7 @@ relay_irc_recv (struct t_relay_client *client, const char *data) ":%s ERROR :WeeChat: password error", RELAY_IRC_DATA(client, address)); relay_client_set_status (client, - RELAY_STATUS_DISCONNECTED); + RELAY_STATUS_AUTH_FAILED); goto end; }