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
commit533e7a97ef30c6bb3c477b9bdc93eca306761a89 (patch)
tree09f1f45c617d89eaddbb6042bc66eaaba0c5cec1
parentb4c80052feeef465c98d68f5c2fd22ad2071f2de (diff)
downloadopenttd-533e7a97ef30c6bb3c477b9bdc93eca306761a89.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;
}