summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-03-25 20:19:18 +0300
committeraunsane <aunsane@gmail.com>2018-03-25 20:19:38 +0300
commitf0c08538d0cdddb62453761e437cd7d2a3325bd0 (patch)
tree6bf11d9c0fd27ae5aadbb242fd0c9c02f856420e /protocols
parent281fbb65922ab20e415695608f0e24a65231b4f8 (diff)
Steam: stop polling when got "Not Logged On" error
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Steam/src/steam_polling.cpp4
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"));