relay: set status to AUTH_FAILED in case of auth failure in irc protocol (issue #825)

v2.8-utf8proc
Sébastien Helleu 2016-10-25 07:23:26 +02:00
parent b3d4680600
commit d4a9c48cc8
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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;
}