aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-10-21 13:37:26 +0200
committerKim Alvefur <zash@zash.se>2015-10-21 13:37:26 +0200
commit260dfd3d708c21a49a318f705c3c24d3a4c74608 (patch)
treed652d2047a42a97372cee18b0690eb659fc83cdd
parenta05e313bb259ace44bd79bfce243741b1ae2f772 (diff)
downloadprosody-260dfd3d708c21a49a318f705c3c24d3a4c74608.tar.gz
prosody-260dfd3d708c21a49a318f705c3c24d3a4c74608.zip
prosodyctl: check: Don't complain about c2s_ssl or s2s_ssl being in VirtualHost sections, that's supported
-rwxr-xr-xprosodyctl2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosodyctl b/prosodyctl
index e4e22322..76c05fa6 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -890,7 +890,7 @@ function commands.check(arg)
for name in pairs(options) do
if name:match("^interfaces?")
or name:match("_ports?$") or name:match("_interfaces?$")
- or name:match("_ssl$") then
+ or (name:match("_ssl$") and not name:match("^[cs]2s_ssl$")) then
misplaced_options:add(name);
end
end