summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-10-25 07:23:26 +0200
committerSébastien Helleu <flashcode@flashtux.org>2016-10-25 07:23:26 +0200
commitd4a9c48cc85856b76277c20429a1dc8062ee3af3 (patch)
treec9bb695c0f036fa9d8551a7ff10dcfb40b1554f9 /src/plugins
parentb3d4680600db03b204f396c5606efa30df6249e7 (diff)
downloadweechat-d4a9c48cc85856b76277c20429a1dc8062ee3af3.zip
relay: set status to AUTH_FAILED in case of auth failure in irc protocol (issue #825)
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/relay/irc/relay-irc.c2
1 files changed, 1 insertions, 1 deletions
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;
}