diff options
author | Lukas Mai <l.mai@web.de> | 2016-02-18 02:23:09 +0100 |
---|---|---|
committer | Lukas Mai <l.mai@web.de> | 2016-02-18 02:23:09 +0100 |
commit | 3167ccfbc21e6918133e5898f5e76596bb6de788 (patch) | |
tree | 7369f6471aa7b2e3ec3108530351770a16647935 /src/irc | |
parent | c9ce0c521a559727493b42f422b5cc10ede2d9b2 (diff) | |
download | irssi-3167ccfbc21e6918133e5898f5e76596bb6de788.zip |
remove redundant check
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/proxy/listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c index cd946baa..3ec83773 100644 --- a/src/irc/proxy/listen.c +++ b/src/irc/proxy/listen.c @@ -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; |