From 1a728fad755b3ba2b5383ac0ee6273d19e498e0f Mon Sep 17 00:00:00 2001
From: Kim Alvefur <zash@zash.se>
Date: Wed, 21 Oct 2015 13:37:26 +0200
Subject: prosodyctl: check: Don't complain about c2s_ssl or s2s_ssl being in
 VirtualHost sections, that's supported

---
 prosodyctl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'prosodyctl')

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
-- 
cgit v1.2.3