mod_host_guard/mod_host_guard.lua
changeset 494 376c4a90249c
parent 493 b1b80319bbf6
child 515 e98fe28c50b0
--- 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()