diff options
author | tron <tron@openttd.org> | 2005-06-30 12:42:27 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-06-30 12:42:27 +0000 |
commit | 7ff19d7dfd0b29a203110366e7a934ca267ed370 (patch) | |
tree | d1facfb7963ee2f76545f43484f134cb69c16030 | |
parent | 9d75047211c04cc9cb1eb04fb53ebb1aacf0d326 (diff) | |
download | openttd-7ff19d7dfd0b29a203110366e7a934ca267ed370.tar.xz |
(svn r2498) -Fix: [1230241] The console variable autoclean_unprotected was linked to the variable _network_autoclean_protected
-rw-r--r-- | console_cmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c index 91d32e4b2..2925bb916 100644 --- a/console_cmds.c +++ b/console_cmds.c @@ -1362,7 +1362,7 @@ void IConsoleStdLibRegister(void) IConsoleVarRegister("autoclean_protected", &_network_autoclean_protected, ICONSOLE_VAR_BYTE, "Automatically remove the password from an inactive company after the given amount of months"); IConsoleVarHookAdd("autoclean_protected", ICONSOLE_HOOK_ACCESS, ConHookServerOnly); - IConsoleVarRegister("autoclean_unprotected", &_network_autoclean_protected, ICONSOLE_VAR_BYTE, "Automatically shut down inactive companies after the given amount of months"); + IConsoleVarRegister("autoclean_unprotected", &_network_autoclean_unprotected, ICONSOLE_VAR_BYTE, "Automatically shut down inactive companies after the given amount of months"); IConsoleVarHookAdd("autoclean_unprotected", ICONSOLE_HOOK_ACCESS, ConHookServerOnly); IConsoleVarRegister("restart_game_date", &_network_restart_game_date, ICONSOLE_VAR_BYTE, "Auto-restart the server when Jan 1st of the set year is reached. Use '0' to disable this"); |