1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-23 06:35:36 +00:00

remove redundant check

This commit is contained in:
Lukas Mai 2016-02-18 02:23:09 +01:00
parent c9ce0c521a
commit 3167ccfbc2

View File

@ -140,7 +140,7 @@ static void handle_client_connect_cmd(CLIENT_REC *client,
client->proxy_address = g_strdup_printf("%*s.proxy", (int)(tag_end - args), args);
}
if (password && g_strcmp0(password, args_pass) != 0) {
if (g_strcmp0(password, args_pass) != 0) {
/* wrong password! */
remove_client(client);
return;