mirror of
https://github.com/pissnet/pissircd.git
synced 2025-08-05 17:55:23 +01:00
Revert "Fix possible segfault on sequential-fallback autoconnect strategy" (fixed upstream)
This reverts commit f4b3efcf3a
.
This commit is contained in:
parent
f4b3efcf3a
commit
a29548af5b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue