mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fixed problem of server always receiving an empty password from the client
This commit is contained in:
parent
bb77b1c0af
commit
e0b8e66540
3 changed files with 12 additions and 4 deletions
|
@ -424,7 +424,7 @@ void Client::step(float dtime)
|
|||
memset((char*)&data[3], 0, PLAYERNAME_SIZE);
|
||||
snprintf((char*)&data[3], PLAYERNAME_SIZE, "%s", myplayer->getName());
|
||||
|
||||
/*dstream<<"Client: password hash is \""<<m_password<<"\""
|
||||
/*dstream<<"Client: sending initial password hash: \""<<m_password<<"\""
|
||||
<<std::endl;*/
|
||||
|
||||
memset((char*)&data[23], 0, PASSWORD_SIZE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue