changeset 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 f0ef6e285d69
children fc5df35a3fe4
files mod_register_json/mod_register_json.lua
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
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,