diff options
author | rubidium <rubidium@openttd.org> | 2011-01-19 16:47:40 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-01-19 16:47:40 +0000 |
commit | 795a5283289473185afdedb3133155101e84b0fe (patch) | |
tree | 00845d6c66a5a9289173acc4b7e1cb78eeb36c0d /src/console_cmds.cpp | |
parent | e54a1f67213218f52d8e27bce3aeda5d7dc16ad9 (diff) | |
download | openttd-795a5283289473185afdedb3133155101e84b0fe.tar.xz |
(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)
Diffstat (limited to 'src/console_cmds.cpp')
-rw-r--r-- | src/console_cmds.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console_cmds.cpp b/src/console_cmds.cpp index e78ca1294..e13e9df20 100644 --- a/src/console_cmds.cpp +++ b/src/console_cmds.cpp @@ -1530,7 +1530,7 @@ DEF_CONSOLE_CMD(ConCompanyPassword) return false; } - const char *password = NetworkChangeCompanyPassword(argv[1]); + const char *password = NetworkChangeCompanyPassword(_local_company, argv[1], false); if (StrEmpty(password)) { IConsolePrintF(CC_WARNING, "Company password cleared"); |