(svn r22738) -Fix [FS#4722] (r21854): Setting company passwords via the GUI on servers (including starting a company with the default password) failed, so no client could join.

This commit is contained in:
frosch
2011-08-13 08:32:55 +00:00
parent 81074e0ca2
commit 6bb33acc0d
3 changed files with 4 additions and 4 deletions

View File

@@ -1640,7 +1640,7 @@ DEF_CONSOLE_CMD(ConCompanyPassword)
return false;
}
password = NetworkChangeCompanyPassword(company_id, password, false);
password = NetworkChangeCompanyPassword(company_id, password);
if (StrEmpty(password)) {
IConsolePrintF(CC_WARNING, "Company password cleared");