summaryrefslogtreecommitdiff
path: root/network_server.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-16 13:59:23 +0000
committertruelight <truelight@openttd.org>2004-12-16 13:59:23 +0000
commit5e28fb8f97f7f57be4f62676fd96bd7b97103419 (patch)
tree4e45f952d8f16c9ddc3ac358df5ad8668d9a599a /network_server.h
parent89fd12692f1999b1535d70589bab7366a9eee0f3 (diff)
downloadopenttd-5e28fb8f97f7f57be4f62676fd96bd7b97103419.tar.xz
(svn r1131) -Add: [Network] Autoclean_companies (set it with 'set autoclean_companies on/off').
When enabled, empty companies (companies with no active clients) with no password are declared bankrupt after 1 year of emptyness. For empty companies with password, the password is removed after 3 years of emptyness. The delay of removing company/password can be configured via: - 'set autoclean_protected <months>' - 'set autoclean_unprotected <months>'
Diffstat (limited to 'network_server.h')
-rw-r--r--network_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/network_server.h b/network_server.h
index 5a0abde74..45979ff89 100644
--- a/network_server.h
+++ b/network_server.h
@@ -14,6 +14,7 @@ void NetworkServer_HandleChat(NetworkAction action, DestType desttype, int dest,
bool NetworkServer_ReadPackets(ClientState *cs);
void NetworkServer_Tick();
+void NetworkServerMonthlyLoop();
#endif /* ENABLE_NETWORK */