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
commit1a728fad755b3ba2b5383ac0ee6273d19e498e0f (patch)
treed652d2047a42a97372cee18b0690eb659fc83cdd
parentb7e3bf93eae9c6ae373d2f555b9d1fb0bbc2056d (diff)
downloadprosody-1a728fad755b3ba2b5383ac0ee6273d19e498e0f.tar.gz
prosody-1a728fad755b3ba2b5383ac0ee6273d19e498e0f.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