forked from rDrama/rDrama
fix chat count
parent
12f6da902d
commit
83b34832b8
|
@ -174,7 +174,7 @@ def connect(v):
|
||||||
@socketio.on('disconnect')
|
@socketio.on('disconnect')
|
||||||
@admin_level_required(PERMS['CHAT'])
|
@admin_level_required(PERMS['CHAT'])
|
||||||
def disconnect(v):
|
def disconnect(v):
|
||||||
if v.username in online:
|
if [v.username, v.id, v.name_color] in online:
|
||||||
online.remove(v.username)
|
online.remove(v.username)
|
||||||
refresh_online()
|
refresh_online()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue