degesch: fix one last SOCKS corner case
This commit is contained in:
parent
6c5e038187
commit
7be129b72c
@ -4492,6 +4492,10 @@ irc_setup_connector_socks (struct server *s,
|
||||
get_config_string (s->config, "socks_username"),
|
||||
get_config_string (s->config, "socks_password"));
|
||||
free (service);
|
||||
|
||||
// The SOCKS connector can have already failed; we mustn't return true then
|
||||
if (!s->socks_conn)
|
||||
FAIL ("SOCKS connection failed");
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user