diff -r a8c701631d0b -r cbd0095e9302 mod_firewall/mod_firewall.lua --- a/mod_firewall/mod_firewall.lua Thu Mar 17 11:22:18 2016 +0000 +++ b/mod_firewall/mod_firewall.lua Thu Mar 17 11:22:35 2016 +0000 @@ -80,6 +80,7 @@ end return table.concat(defs, " "); end, depends = { "date_time" }; }; + timestamp = { global_code = [[local get_time = require "socket".gettime]]; local_code = [[local current_timestamp = get_time()]]; }; throttle = { global_code = function (throttle) assert(idsafe(throttle), "Invalid rate limit name: "..throttle);