diff options
author | Kim Alvefur <zash@zash.se> | 2022-02-15 21:51:52 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-02-15 21:51:52 +0100 |
commit | 84f93f23366427fd6363d01a36f983a06512d33e (patch) | |
tree | 724f0ea4af53e81a2b94ecfb181180ce84870ebb | |
parent | 5927315eee5dbab3a06cfdc0b98fc2cc838a2aa8 (diff) | |
download | prosody-84f93f23366427fd6363d01a36f983a06512d33e.tar.gz prosody-84f93f23366427fd6363d01a36f983a06512d33e.zip |
mod_turn_external: Fix type of config option (thanks mirux)
There was a separate boolean option to enable TLS before, but it was
merged with the port number option and it seems the typed API interface
got confused.
-rw-r--r-- | plugins/mod_turn_external.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_turn_external.lua b/plugins/mod_turn_external.lua index 8e391bb5..fe8366be 100644 --- a/plugins/mod_turn_external.lua +++ b/plugins/mod_turn_external.lua @@ -6,7 +6,7 @@ local user = module:get_option_string("turn_external_user"); local port = module:get_option_number("turn_external_port", 3478); local ttl = module:get_option_number("turn_external_ttl", 86400); local tcp = module:get_option_boolean("turn_external_tcp", false); -local tls_port = module:get_option_boolean("turn_external_tls_port"); +local tls_port = module:get_option_number("turn_external_tls_port"); if not secret then error("mod_" .. module.name .. " requires that 'turn_external_secret' be set") end |