1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Passwords - a few corrections to the previous commit

This commit is contained in:
Ciaran Gultnieks 2011-05-20 21:37:13 +01:00
parent d4d49ee8f4
commit 52d857cf15
4 changed files with 38 additions and 5 deletions

View file

@ -1780,7 +1780,7 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
if(datasize == 2+1+PLAYERNAME_SIZE)
{
// old version - assume blank password
*password = 0;
password[0] = 0;
}
else
{