author | truelight |
Wed, 15 Dec 2004 17:24:10 +0000 | |
changeset 664 | d34b4247cd2f |
parent 663 | 80c66fd07863 |
child 665 | e13a14eaf628 |
console_cmds.c | file | annotate | diff | comparison | revisions |
--- a/console_cmds.c Wed Dec 15 16:51:55 2004 +0000 +++ b/console_cmds.c Wed Dec 15 17:24:10 2004 +0000 @@ -631,7 +631,7 @@ if (strncmp(argv[2], "*", 20) == 0) { _network_player_info[_local_player].password[0] = '\0'; } else { - strncpy(_network_player_info[_local_player].password, argv[1], 20); + strncpy(_network_player_info[_local_player].password, argv[2], 20); } if (!_network_server) SEND_COMMAND(PACKET_CLIENT_SET_PASSWORD)(_network_player_info[_local_player].password);