# HG changeset patch
# User Marco Cirillo <maranda@lightwitch.org>
# Date 1319412636 0
# Node ID 3117d7e207c515d2c1530ed74fecf38c3f49c395
# Parent  4149fcacbbf1948643aa098d442fd0a911d5f6f2
mod_component_guard: added default empty table entries for config options (is it even valid for true sets?)

diff -r 4149fcacbbf1 -r 3117d7e207c5 mod_component_guard/mod_component_guard.lua
--- a/mod_component_guard/mod_component_guard.lua	Sat Oct 22 22:11:53 2011 +0000
+++ b/mod_component_guard/mod_component_guard.lua	Sun Oct 23 23:30:36 2011 +0000
@@ -1,8 +1,8 @@
 -- Block or restrict by blacklist remote access to local components.
 
-local guard_blockall = module:get_option_set("component_guard_blockall")
-local guard_protect = module:get_option_set("component_guard_components")
-local guard_block_bl = module:get_option_set("component_guard_blacklist")
+local guard_blockall = module:get_option_set("component_guard_blockall", {})
+local guard_protect = module:get_option_set("component_guard_components", {})
+local guard_block_bl = module:get_option_set("component_guard_blacklist", {})
 
 local s2smanager = require "core.s2smanager";
 local config = require "core.configmanager";