1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 17:23:15 +02:00

relay: allow colon in server password received from client

This commit is contained in:
Sebastien Helleu
2011-03-05 16:47:58 +01:00
parent b6be2adedd
commit 39bb5d8ee9
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -711,7 +711,7 @@ relay_client_irc_recv_one_msg (struct t_relay_client *client, char *data)
{
if (irc_args && irc_args[0]
&& (strcmp (weechat_config_string (relay_config_network_password),
irc_args) == 0))
(irc_args[0] == ':') ? irc_args + 1 : irc_args) == 0))
{
RELAY_IRC_DATA(client, password_ok) = 1;
}