summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-23 13:03:48 +0000
committertruelight <truelight@openttd.org>2004-12-23 13:03:48 +0000
commit807b5e5304436f721de2631be4cc2def19a2fb8b (patch)
tree09f1f45c617d89eaddbb6042bc66eaaba0c5cec1
parent8b4288f9cd03d4b194a5a11b597276d5e2438452 (diff)
downloadopenttd-807b5e5304436f721de2631be4cc2def19a2fb8b.tar.xz
(svn r1244) -Fix: no longer show the current password when 'set company_pw' is called
without parameters (technical not possible, sorry DV)
-rw-r--r--console_cmds.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/console_cmds.c b/console_cmds.c
index 11f9dffc0..a0b354329 100644
--- a/console_cmds.c
+++ b/console_cmds.c
@@ -686,7 +686,6 @@ DEF_CONSOLE_CMD(ConSet) {
} 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_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;
}