diff options
Diffstat (limited to 'protocols/Steam/src/steam_polling.cpp')
| -rw-r--r-- | protocols/Steam/src/steam_polling.cpp | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/protocols/Steam/src/steam_polling.cpp b/protocols/Steam/src/steam_polling.cpp index 0078009e15..0d278ee946 100644 --- a/protocols/Steam/src/steam_polling.cpp +++ b/protocols/Steam/src/steam_polling.cpp @@ -222,19 +222,23 @@ void CSteamProto::PollingThread(void*) { // Do nothing as this is not necessarily an error } - /*else if (!lstrcmpi(error, _T("Not Logged On"))) // 'else' below will handle this error, we don't need this particular check right now + else if (!lstrcmpi(error, _T("Not Logged On"))) // 'else' below will handle this error, we don't need this particular check right now { - if (!IsOnline()) - { - // need to relogin - debugLog(_T("CSteamProto::PollingThread: not logged on")); + // need to relogin + debugLog(_T("CSteamProto::PollingThread: Not Logged On")); - SetStatus(ID_STATUS_OFFLINE); + if (Relogin()) + { + // load umqId and messageId again + umqId = getStringA("UMQID"); // it's ptrA so we can assign it without fearing a memory leak + messageId = getDword("MessageID", 0); } - - // let it jump out of further processing - errors = errorsLimit; - }*/ + else + { + // let it jump out of further processing + errors = errorsLimit; + } + } else { // something wrong |
