From 2537822ec3c21389ccaf6ff73e9bdfe112e66515 Mon Sep 17 00:00:00 2001 From: beerpsi Date: Sun, 21 Apr 2024 19:49:57 +0000 Subject: [PATCH] fix: proper guest detection maybe --- titles/chuni/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titles/chuni/base.py b/titles/chuni/base.py index 84989cb..4392ccc 100644 --- a/titles/chuni/base.py +++ b/titles/chuni/base.py @@ -809,7 +809,7 @@ class ChuniBase: upsert = data["upsertUserAll"] user_id = data["userId"] - if int(user_id) & 281479271677952 == 281479271677952: + if int(user_id) & (1 << 48) != 0: self.logger.info("Guest play, ignoring.") return {"returnCode": "1"}