# HG changeset patch # User Marco Cirillo # Date 1339374926 0 # Node ID b0c0acccd7c417bf0372767932562bd21077c429 # Parent 151743149f07a790f76ca4997102aafe793905fd mod_register_json: corrected trace. diff -r 151743149f07 -r b0c0acccd7c4 mod_register_json/mod_register_json.lua --- a/mod_register_json/mod_register_json.lua Sat Jun 09 23:15:44 2012 +0200 +++ b/mod_register_json/mod_register_json.lua Mon Jun 11 00:35:26 2012 +0000 @@ -87,7 +87,7 @@ if os_time() - recent_ips[req_body["ip"]] < throttle_time then recent_ips[req_body["ip"]] = os_time() module:log("warn", "JSON Registration request from %s has been throttled.", req_body["ip"]) - return http_response(503, "Woah... How many users you want to register..? Request throttled, wait a bit and try again.") + return http_response(event, 503, "Woah... How many users you want to register..? Request throttled, wait a bit and try again.") end recent_ips[req_body["ip"]] = os_time() end