Software /
code /
prosody
Changeset
8134:b87e281a7d59
mod_component: Use typed config API
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 26 Apr 2017 16:54:58 +0200 |
parents | 8132:6ddddfe05a74 |
children | 8135:e20c27e04ecc |
files | plugins/mod_component.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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");