mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Pass if socket_guild_id not in session
This commit is contained in:
parent
b516f8af3a
commit
dbd943f209
@ -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"]:
|
||||
|
Loading…
Reference in New Issue
Block a user