diff options
author | Kim Alvefur <zash@zash.se> | 2014-05-02 08:27:29 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-05-02 08:27:29 +0200 |
commit | 400bdbc4380af9e0cb61d3c88529aab77983a03c (patch) | |
tree | df1dbc8e3aef885f09a9f234c83198b7a20163cc /prosodyctl | |
parent | f329e3d045cebabbc1a6bb3736bc01583a6c148d (diff) | |
download | prosody-400bdbc4380af9e0cb61d3c88529aab77983a03c.tar.gz prosody-400bdbc4380af9e0cb61d3c88529aab77983a03c.zip |
prosodyctl: Use correct variable in check certs
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1115,8 +1115,8 @@ function commands.check(arg) print(" Not vaild for client connections to "..host..".") cert_ok = false end - if (not (config.get(name, "anonymous_login") - or config.get(name, "authentication") == "anonymous")) + if (not (config.get(host, "anonymous_login") + or config.get(host, "authentication") == "anonymous")) and not x509_verify_identity(host, "_xmpp-client", cert) then print(" Not vaild for server-to-server connections to "..host..".") cert_ok = false |