correcting a bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/hilnius@13154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
ae2e656059
commit
54aaa39309
@ -287,9 +287,12 @@ void ServerLobbyRoomProtocol::update()
|
||||
if (Time::getRealTime() > last_poll_time+10.0)
|
||||
{
|
||||
last_poll_time = Time::getRealTime();
|
||||
TransportAddress addr = NetworkManager::getInstance()->getPublicAddress();
|
||||
HTTPConnector * connector = new HTTPConnector((std::string)UserConfigParams::m_server_multiplayer + "address-management.php");
|
||||
connector->setParameter("id",CurrentOnlineUser::get()->getUserID());
|
||||
connector->setParameter("token",CurrentOnlineUser::get()->getToken());
|
||||
connector->setParameter("address",addr.ip);
|
||||
connector->setParameter("port",addr.port);
|
||||
connector->setParameter("action","poll-connection-requests");
|
||||
|
||||
const XMLNode * result = connector->getXMLFromPage();
|
||||
|
Loading…
Reference in New Issue
Block a user