comparison mod_host_guard/mod_host_guard.lua @ 494:376c4a90249c

mod_host_guard: minor fix.
author Marco Cirillo <maranda@lightwitch.org>
date Sun, 04 Dec 2011 15:57:01 +0000
parents b1b80319bbf6
children e98fe28c50b0
comparison
equal deleted inserted replaced
493:b1b80319bbf6 494:376c4a90249c
76 end 76 end
77 end 77 end
78 78
79 local function reload() 79 local function reload()
80 module:log ("debug", "server configuration reloaded, rehashing plugin tables..."); 80 module:log ("debug", "server configuration reloaded, rehashing plugin tables...");
81 guard_blockall = module:get_option_set("host_guard_blockall"); 81 guard_blockall = module:get_option_set("host_guard_blockall", {});
82 guard_protect = module:get_option_set("host_guard_components"); 82 guard_protect = module:get_option_set("host_guard_components", {});
83 guard_block_bl = module:get_option_set("host_guard_blacklist"); 83 guard_block_bl = module:get_option_set("host_guard_blacklist", {});
84 end 84 end
85 85
86 local function setup() 86 local function setup()
87 module:log ("debug", "initializing host guard module..."); 87 module:log ("debug", "initializing host guard module...");
88 88