diff options
-rw-r--r-- | degesch.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; } |