botwave
botwave copied to clipboard
[Bug]: kick all raises an error
Describe the bug
When running kick all on bw-server, it kicks the client but then shows an error:
[INFO] Registration attempt from tina
[OK] Client registered: tina (tina_[REDACTED])
botwave › kick all
[CLIENT] Kicking 1 client(s)...
[WARN] Client disconnected: tina (tina_[REDACTED])
[ERR] Unexpected error in 'kick': 'tina_[REDACTED]'
To Reproduce
- run
bw-server - connect a client
- run
kick all
OS
Fedora 44
Version
BotWave server v1.2.7-ilex, protocol 2.1.4
Machine (Hardware)
No response
Additional context
No response
Fixed, it was caused by a race condition between the kick command and the servers internal disconnection handling