projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e2b935
)
prosodyctl: check: Don't complain about c2s_ssl or s2s_ssl being in VirtualHost secti...
author
Kim Alvefur
<zash@zash.se>
Wed, 21 Oct 2015 11:37:26 +0000
(13:37 +0200)
committer
Kim Alvefur
<zash@zash.se>
Wed, 21 Oct 2015 11:37:26 +0000
(13:37 +0200)
prosodyctl
patch
|
blob
|
history
diff --git
a/prosodyctl
b/prosodyctl
index e4e22322d873dd7953c28917852ec2b2a2d297ac..76c05fa61af817f5b76d7b023b82e77ecf194aab 100755
(executable)
--- 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