Mercurial > prosody-modules
comparison mod_dnsupdate/mod_dnsupdate.lua @ 6222:62adec551585
mod_dnsupdate: Remove leftover debug print
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 12 May 2025 12:19:13 +0200 |
| parents | 52e239aa96af |
| children | 3ae0d518b739 |
comparison
equal
deleted
inserted
replaced
| 6221:52e239aa96af | 6222:62adec551585 |
|---|---|
| 81 ["xmpps-client"] = module:get_option_array("c2s_direct_tls_ports", {}); | 81 ["xmpps-client"] = module:get_option_array("c2s_direct_tls_ports", {}); |
| 82 ["xmpps-server"] = module:get_option_array("s2s_direct_tls_ports", {}); | 82 ["xmpps-server"] = module:get_option_array("s2s_direct_tls_ports", {}); |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 local modules_enabled = modulemanager.get_modules_for_host(vhost); | 85 local modules_enabled = modulemanager.get_modules_for_host(vhost); |
| 86 print(modules_enabled) | |
| 87 if not modules_enabled:contains("c2s") then | 86 if not modules_enabled:contains("c2s") then |
| 88 configured_ports["xmpp-client"] = {}; | 87 configured_ports["xmpp-client"] = {}; |
| 89 configured_ports["xmpps-client"] = {}; | 88 configured_ports["xmpps-client"] = {}; |
| 90 end | 89 end |
| 91 if not modules_enabled:contains("s2s") then | 90 if not modules_enabled:contains("s2s") then |
