diff options
author | aunsane <aunsane@gmail.com> | 2018-03-25 20:19:18 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-03-25 20:19:38 +0300 |
commit | f0c08538d0cdddb62453761e437cd7d2a3325bd0 (patch) | |
tree | 6bf11d9c0fd27ae5aadbb242fd0c9c02f856420e /protocols/Steam | |
parent | 281fbb65922ab20e415695608f0e24a65231b4f8 (diff) |
Steam: stop polling when got "Not Logged On" error
Diffstat (limited to 'protocols/Steam')
-rw-r--r-- | protocols/Steam/src/steam_polling.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp index 04e8253ed3..1078b1a037 100644 --- a/protocols/Steam/src/steam_polling.cpp +++ b/protocols/Steam/src/steam_polling.cpp @@ -209,8 +209,8 @@ void CSteamProto::OnGotPoll(const HttpResponse &response, void *arg) if (error == "Not Logged On") { // need to relogin - debugLogA(__FUNCTION__ ": not Logged On"); - + debugLogA(__FUNCTION__ ": not logged on"); + param->errors = param->errorsLimit; // 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()) { ptrA token(getStringA("TokenSecret")); |