From 9682ce6e05865f2267f4bed4d74f0e1e890baccc Mon Sep 17 00:00:00 2001 From: aunsane Date: Sun, 31 Dec 2017 17:13:35 +0300 Subject: Steam: fix status switching to offline on server error --- protocols/Steam/src/steam_polling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Steam/src') diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp index 2397b7531c..182f9df783 100644 --- a/protocols/Steam/src/steam_polling.cpp +++ b/protocols/Steam/src/steam_polling.cpp @@ -197,7 +197,7 @@ void CSteamProto::OnGotPoll(const HttpResponse &response, void *arg) debugLogA(__FUNCTION__ ": Not Logged On"); // try to reconnect only when we're actually online (during normal logout we will still got this error anyway, but in that case our status is already offline) - if (!IsOnline() && !Relogin()) + if (!IsOnline() || !Relogin()) { // let it jump out of further processing param->errors = param->errorsLimit; -- cgit v1.2.3