Another ratelimit tweak. I didn't anticipate people using per_cmd
authorTony Finch <dot@dot.at>
Fri, 10 Jun 2005 19:27:05 +0000 (19:27 +0000)
committerTony Finch <dot@dot.at>
Fri, 10 Jun 2005 19:27:05 +0000 (19:27 +0000)
commitfe0dab1189fa5050480bcc5f07df41c449aa92bf
tree9e701b4a73531776d84dd7500fcbfc1e325e3229
parent28e6ef293e17995d56f1510cdf4f510b84034a83
Another ratelimit tweak. I didn't anticipate people using per_cmd
ratelimits more than once in the same ACL (e.g. to increase the
delay for higher rates) so the code didn't do the right thing in
that situation. There's now a per_cmd cache which is reset at the
start of each ACL run.
doc/doc-txt/ChangeLog
src/src/acl.c
src/src/globals.c
src/src/globals.h