Software /
code /
prosody-modules
Diff
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 |
parent | 493:b1b80319bbf6 |
child | 515:e98fe28c50b0 |
line wrap: on
line diff
--- a/mod_host_guard/mod_host_guard.lua Sun Dec 04 15:47:24 2011 +0000 +++ b/mod_host_guard/mod_host_guard.lua Sun Dec 04 15:57:01 2011 +0000 @@ -78,9 +78,9 @@ local function reload() module:log ("debug", "server configuration reloaded, rehashing plugin tables..."); - guard_blockall = module:get_option_set("host_guard_blockall"); - guard_protect = module:get_option_set("host_guard_components"); - guard_block_bl = module:get_option_set("host_guard_blacklist"); + guard_blockall = module:get_option_set("host_guard_blockall", {}); + guard_protect = module:get_option_set("host_guard_components", {}); + guard_block_bl = module:get_option_set("host_guard_blacklist", {}); end local function setup()