Revert "Fix possible segfault on sequential-fallback autoconnect strategy" (fixed upstream)

This reverts commit f4b3efcf3a.
This commit is contained in:
Ramiro Bou 2021-08-16 11:31:13 -03:00
parent f4b3efcf3a
commit a29548af5b

View file

@ -1711,7 +1711,7 @@ void server_generic_free(ModData *m)
int server_post_connect(Client *client) {
if (cfg.autoconnect_strategy == AUTOCONNECT_SEQUENTIAL_FALLBACK && last_autoconnect_server
&& client->serv->conf && !strcmp(last_autoconnect_server, client->serv->conf->servername))
&& !strcmp(last_autoconnect_server, client->serv->conf->servername))
{
last_autoconnect_server = NULL;
}