changeset 8137 | b87e281a7d59 |
parent 7889 | 679746cdf3cc |
child 8149 | 5c91fb62338e |
child 8237 | 97b3ca502547 |
--- a/plugins/mod_component.lua Wed Apr 26 11:46:22 2017 +0200 +++ b/plugins/mod_component.lua Wed Apr 26 16:54:58 2017 +0200 @@ -66,7 +66,7 @@ return true; end - local secret = module:get_option("component_secret"); + local secret = module:get_option_string("component_secret"); if not secret then (session.log or log)("warn", "Component attempted to identify as %s, but component_secret is not set", session.host); session:close("not-authorized");