Update root.py

pull/106/head
Who? 2025-02-23 13:30:27 +07:00 committed by GitHub
parent 5cf116271a
commit b984e5238e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -248,9 +248,9 @@ class Web:
async def init_qr_login(self, request: web.Request) -> web.Response:
if self.client_data and "LAVHOST" in os.environ:
return web.Response(status=403, body="Forbidden by lavhost EULA")
if self.client_data and "JAMHOST" in os.environ:
if "JAMHOST" in os.environ:
return web.Response(status=403, body="Forbidden by JamHost EULA")
if self.client_data and "HIKKAHOST" in os.environ:
if "HIKKAHOST" in os.environ:
return web.Response(status=403, body="Forbidden by HikkaHost EULA")
if not self._check_session(request):