mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2025-06-16 11:25:22 +02:00
Pass if socket_guild_id not in session
This commit is contained in:
@ -46,6 +46,9 @@ class Gateway(Namespace):
|
||||
def on_disconnect(self):
|
||||
if "user_keys" not in session:
|
||||
return
|
||||
if "socket_guild_id" not in session:
|
||||
disconnect()
|
||||
else:
|
||||
guild_id = session["socket_guild_id"]
|
||||
msg = {}
|
||||
if session["unauthenticated"]:
|
||||
|
Reference in New Issue
Block a user