This provides a much more reliable way to handle arguments with spaces,
such as usernames.
The ban process's stdout and stderr are now redirected to the server,
in case they have output that would be good in the server's logs.
IMPORTANT:
This commit contains new config options.
Make sure your local config file is up to date with config.example.toml to avoid issues.
CHANGELOG:
- Fix crash exploit caused by abnormally long WebSocket messages
- Added config option for limiting the maximum amount of active connections from the same IP
- Made per-IP turn limiter configurable
- Fixed an issue where vote updates were not sent to clients in some cases
- Added warning about using qmpSockDir on Windows hosts
- Updated dependencies
- Removed unused code/imports
* Add IPData, Windows support, bugfixes
Changes:
- Added IPData: mutes and votes are now tracked per-IP instead of per-user.
- Windows support: QMP over TCP can now be enabled in the config.
- Vote cooldown can now be specified in the config.
- Fixed bugs:
"Username is already taken" message appearing when it shouldn't
* Remove vote from closed connections
---------
Co-authored-by: Elijah R <62162399+elijahr2411@users.noreply.github.com>