changeset 664 | e26a60b19408 |
parent 644 | e833509107ad |
child 665 | c96dc0b4ef98 |
--- 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);