We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Warzone2100
Learn more about funding links in repositories.
Report abuse
1 parent 7dbf108 commit 2cb5babCopy full SHA for 2cb5bab
lib/netplay/netlobby.cpp
@@ -445,18 +445,18 @@ RETURN_CODES Client::logout()
445
freeError();
446
}
447
448
- // Clear auth data.
449
- useAuth_ = false;
450
- user_.clear();
451
- token_.clear();
452
- session_.clear();
453
-
454
// Tell the lobby that we want to logout.
455
if (call_("logout") != LOBBY_NO_ERROR)
456
{
457
return lastError_.code;
458
459
+ // Clear auth data.
+ isAuthenticated_ = false;
+ user_.clear();
+ token_.clear();
+ session_.clear();
+
460
freeCallResult_();
461
return LOBBY_NO_ERROR;
462
0 commit comments