forked from mirror/OpenTTD
(svn r1244) -Fix: no longer show the current password when 'set company_pw' is called
without parameters (technical not possible, sorry DV)
This commit is contained in:
@@ -686,7 +686,6 @@ DEF_CONSOLE_CMD(ConSet) {
|
|||||||
} else {
|
} else {
|
||||||
IConsolePrint(_iconsole_color_default, "'set company_pw' sets a password for your company, so no-one without the correct password can join.");
|
IConsolePrint(_iconsole_color_default, "'set company_pw' sets a password for your company, so no-one without the correct password can join.");
|
||||||
IConsolePrint(_iconsole_color_warning, "Usage: set company_pw \"<password>\". Use * as <password> to set no password.");
|
IConsolePrint(_iconsole_color_warning, "Usage: set company_pw \"<password>\". Use * as <password> to set no password.");
|
||||||
IConsolePrintF(_iconsole_color_warning, "Current password is: '%s'", _network_player_info[_local_player].password);
|
|
||||||
}
|
}
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user