Don't show the polling log if currently server
This commit is contained in:
parent
0e1a5ea285
commit
d4f7d6baaa
@ -344,6 +344,14 @@ namespace Online
|
||||
request->queue();
|
||||
} // requestPoll()
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
OnlinePlayerProfile::PollRequest::PollRequest()
|
||||
: XMLRequest(true)
|
||||
{
|
||||
m_disable_sending_log = NetworkConfig::get()->isNetworking() &&
|
||||
NetworkConfig::get()->isServer();
|
||||
} // PollRequest
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
/** Callback for the poll request. Parses the information and spawns
|
||||
* notifications accordingly.
|
||||
|
@ -61,7 +61,7 @@ namespace Online
|
||||
{
|
||||
virtual void callback ();
|
||||
public:
|
||||
PollRequest() : XMLRequest(true) {}
|
||||
PollRequest();
|
||||
}; // PollRequest
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user