(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)

This commit is contained in:
rubidium
2011-01-19 16:47:40 +00:00
parent a5108a1fa2
commit f1e42dc23b
9 changed files with 32 additions and 32 deletions

View File

@@ -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");