Mercurial > prosody-modules
changeset 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 | 1a71e0e21a29 |
files | mod_host_guard/mod_host_guard.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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()