botwave icon indicating copy to clipboard operation
botwave copied to clipboard

[Bug]: kick all raises an error

Open douxxtech opened this issue 3 months ago • 1 comments

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

  1. run bw-server
  2. connect a client
  3. 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

douxxtech avatar Sep 01 '26 21:09 douxxtech

Fixed, it was caused by a race condition between the kick command and the servers internal disconnection handling

douxxtech avatar Sep 03 '26 16:09 douxxtech