Software /
code /
prosody
Changeset
12290:aa7a8aa64d3f
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 15 Feb 2022 21:51:52 +0100 |
parents | 12289:3a655adf1d0d |
children | 12291:ec16fb706247 |
files | plugins/mod_turn_external.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_turn_external.lua Tue Feb 15 13:04:24 2022 +0100 +++ b/plugins/mod_turn_external.lua Tue Feb 15 21:51:52 2022 +0100 @@ -6,7 +6,7 @@ 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