diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-10-20 23:04:09 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-10-20 23:04:09 +0300 |
commit | 4b6138e69b65271b0e568f821a4d1bd285affedd (patch) | |
tree | 003fd33f969e5a9bf0bc720bda7f869d1f9c1f45 /src/server.h | |
parent | b6fcbc5fbaba4a7faa65f792b16e47a405fa4ebf (diff) | |
download | minetest-4b6138e69b65271b0e568f821a4d1bd285affedd.tar.gz minetest-4b6138e69b65271b0e568f821a4d1bd285affedd.tar.bz2 minetest-4b6138e69b65271b0e568f821a4d1bd285affedd.zip |
Improve Connection with threading and some kind of congestion control
Diffstat (limited to 'src/server.h')
-rw-r--r-- | src/server.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.h b/src/server.h index dac7e2826..b238bec26 100644 --- a/src/server.h +++ b/src/server.h @@ -468,9 +468,9 @@ public: return m_banmanager.getBanDescription(ip_or_name); } - con::Peer* getPeerNoEx(u16 peer_id) + Address getPeerAddress(u16 peer_id) { - return m_con.GetPeerNoEx(peer_id); + return m_con.GetPeerAddress(peer_id); } // Envlock and conlock should be locked when calling this |