diff --git a/src/online/online_player_profile.cpp b/src/online/online_player_profile.cpp index 3ebb7bc33..aeef259a5 100644 --- a/src/online/online_player_profile.cpp +++ b/src/online/online_player_profile.cpp @@ -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. diff --git a/src/online/online_player_profile.hpp b/src/online/online_player_profile.hpp index 9f2935b56..2a7b9a222 100644 --- a/src/online/online_player_profile.hpp +++ b/src/online/online_player_profile.hpp @@ -61,7 +61,7 @@ namespace Online { virtual void callback (); public: - PollRequest() : XMLRequest(true) {} + PollRequest(); }; // PollRequest private: