diff mod_register_json/mod_register_json.lua @ 548:4691e72a055c

mod_register_json: cleaned up useless unused code (thanks Mr. Gecko)
author Marco Cirillo <maranda@lightwitch.org>
date Sat, 14 Jan 2012 19:49:35 +0000
parents 09280dd0b22e
children d8143f627f9f
line wrap: on
line diff
--- 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,