diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-07-31 15:32:45 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-07-31 15:32:45 +0300 |
commit | e0b8e66540d2724379d6278f83bbbf0f6d5e2aac (patch) | |
tree | 3550c21207534e530687b335f773f836a94078bb /src/main.cpp | |
parent | bb77b1c0affa43b203f2e9a46fbfb31a062b6ec6 (diff) | |
download | minetest-e0b8e66540d2724379d6278f83bbbf0f6d5e2aac.tar.gz minetest-e0b8e66540d2724379d6278f83bbbf0f6d5e2aac.tar.bz2 minetest-e0b8e66540d2724379d6278f83bbbf0f6d5e2aac.zip |
Fixed problem of server always receiving an empty password from the client
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3cc748954..77340cab3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1583,6 +1583,8 @@ int main(int argc, char *argv[]) password = translatePassword(playername, menudata.password); + //dstream<<"Main: password hash: '"<<password<<"'"<<std::endl; + address = wide_to_narrow(menudata.address); int newport = stoi(wide_to_narrow(menudata.port)); if(newport != 0) |