]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Refactor flood control code to work with .cmd_floodtime initialized to 0 terencehill/floodcontrol_refactor
authorterencehill <piuntn@gmail.com>
Wed, 31 Jul 2024 21:55:49 +0000 (23:55 +0200)
committerterencehill <piuntn@gmail.com>
Thu, 1 Aug 2024 00:20:12 +0000 (02:20 +0200)
commitc9fa140df7f673f9ce25913fc4d91e10dc6af7a9
tree32507bd3930234a806b8d22fa595754a14780d84
parentffc91e19f16a512f4cb49d981e3e430182cc835d
 Refactor flood control code to work with .cmd_floodtime initialized to 0

The new code is slightly less intuitive however it works even for "not-yet-client" clients
qcsrc/server/client.qc
qcsrc/server/command/cmd.qc