summaryrefslogtreecommitdiff
path: root/src/network/network_internal.h
diff options
context:
space:
mode:
authorPatric Stout <truebrain@openttd.org>2021-04-29 16:30:42 +0200
committerPatric Stout <github@truebrain.nl>2021-07-10 20:17:07 +0200
commite1e2212e0e09c7739f2eb8a4421a9ed7982801f5 (patch)
treec894ff3961367ef5c07e1ff3cfa482047ec83c4a /src/network/network_internal.h
parentcbaac5609fb9017790c5cc747b2c60df1eb2b4a9 (diff)
downloadopenttd-e1e2212e0e09c7739f2eb8a4421a9ed7982801f5.tar.xz
Codechange: track version of network servers to prune once out-of-date
Diffstat (limited to 'src/network/network_internal.h')
-rw-r--r--src/network/network_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_internal.h b/src/network/network_internal.h
index b7e6f4ece..67e97bb07 100644
--- a/src/network/network_internal.h
+++ b/src/network/network_internal.h
@@ -91,7 +91,7 @@ void NetworkQueryServer(const std::string &connection_string);
void NetworkQueryLobbyServer(const std::string &connection_string);
void GetBindAddresses(NetworkAddressList *addresses, uint16 port);
-struct NetworkGameList *NetworkAddServer(const std::string &connection_string, bool manually = true);
+struct NetworkGameList *NetworkAddServer(const std::string &connection_string, bool manually = true, bool never_expire = false);
void NetworkRebuildHostList();
void UpdateNetworkGameWindow();