From 83b34832b8877a499b6df4fbe048954aa409713c Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 28 Jan 2023 12:44:15 +0200 Subject: [PATCH] fix chat count --- files/routes/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/chat.py b/files/routes/chat.py index 12f95194a6..94152c19fb 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -174,7 +174,7 @@ def connect(v): @socketio.on('disconnect') @admin_level_required(PERMS['CHAT']) def disconnect(v): - if v.username in online: + if [v.username, v.id, v.name_color] in online: online.remove(v.username) refresh_online()