# HG changeset patch # User Marco Cirillo # Date 1326570575 0 # Node ID 4691e72a055c29e75a4e67d79504da498466c891 # Parent f0ef6e285d697a99eafdeeb101ca606c8fdf9b6d mod_register_json: cleaned up useless unused code (thanks Mr. Gecko) diff -r f0ef6e285d69 -r 4691e72a055c mod_register_json/mod_register_json.lua --- a/mod_register_json/mod_register_json.lua Thu Jan 12 20:26:16 2012 +0100 +++ b/mod_register_json/mod_register_json.lua Sat Jan 14 19:49:35 2012 +0000 @@ -25,9 +25,6 @@ -- Begin -for _, ip in ipairs(whitelist) do whitelisted_ips[ip] = true end -for _, ip in ipairs(blacklist) do blacklisted_ips[ip] = true end - local function http_response(code, message, extra_headers) local response = { status = code .. " " .. message,