changeset 8149 | 5c91fb62338e |
parent 7890 | 93fd15b5ec1b |
parent 8137 | b87e281a7d59 |
child 8238 | 7d9a2c200736 |
--- a/plugins/mod_component.lua Wed Apr 26 11:55:27 2017 +0200 +++ b/plugins/mod_component.lua Wed May 17 01:06:20 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");