Always disable online user polling for wan server
With d6955f03fcbc21cb4cd9332d0d528063ad9a0f60 in stk-addons it is no longer necessary
This commit is contained in:
parent
612e8bdaf6
commit
8bb2eeb629
@ -1298,6 +1298,9 @@ int handleCmdLine(bool has_server_config)
|
||||
}
|
||||
if (can_wan)
|
||||
{
|
||||
// Server owner online account will keep online as long as
|
||||
// server is live
|
||||
Online::RequestManager::m_disable_polling = true;
|
||||
NetworkConfig::get()->setIsWAN();
|
||||
NetworkConfig::get()->setIsPublicServer();
|
||||
ServerConfig::loadServerLobbyFromConfig();
|
||||
|
@ -348,8 +348,6 @@ namespace Online
|
||||
OnlinePlayerProfile::PollRequest::PollRequest()
|
||||
: XMLRequest(true)
|
||||
{
|
||||
m_disable_sending_log = NetworkConfig::get()->isNetworking() &&
|
||||
NetworkConfig::get()->isServer();
|
||||
} // PollRequest
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user