mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
remove redundant check
This commit is contained in:
parent
c9ce0c521a
commit
3167ccfbc2
@ -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);
|
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! */
|
/* wrong password! */
|
||||||
remove_client(client);
|
remove_client(client);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user