Software /
code /
prosody
Diff
plugins/mod_component.lua @ 8146:5c91fb62338e
Merge 0.10->trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 17 May 2017 01:06:20 +0200 |
parent | 7887:93fd15b5ec1b |
parent | 8134:b87e281a7d59 |
child | 8235:7d9a2c200736 |
line wrap: on
line diff
--- 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");