From 19ea901cf21685a53c279f24e04eaa37a3193aa6 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Sun, 31 Jul 2011 15:51:24 +0300 Subject: [PATCH] Fixes a bug that made the server to deny non-empty passwords from players connecting the first time. --- doc/changelog.txt | 3 +++ src/server.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/changelog.txt b/doc/changelog.txt index 3ae571dc..2c577b42 100644 --- a/doc/changelog.txt +++ b/doc/changelog.txt @@ -3,6 +3,9 @@ Minetest-c55 changelog This should contain all the major changes. For minor stuff, refer to the commit log of the repository. +2011-07-31_3: +- Fixes a bug that made the server to deny non-empty passwords from players connecting the first time + 2011-07-31_2: - Fixes a bug that caused the server to always read an empty password from the client when a client connected. diff --git a/src/server.cpp b/src/server.cpp index 35c186b5..8a19306a 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -2047,7 +2047,7 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id) /*dstream<<"Server: Client gave password '"<