prosodyctl: Fix typo (thanks av6)
authorKim Alvefur <zash@zash.se>
Sat, 28 May 2016 11:10:40 +0000 (13:10 +0200)
committerKim Alvefur <zash@zash.se>
Sat, 28 May 2016 11:10:40 +0000 (13:10 +0200)
prosodyctl

index c8366faf9ae68193ccc98767f8ea68fd62a4f047..8ada3b9b6d8b6f59080cb40c390c25e3be93d66e 100755 (executable)
@@ -1261,13 +1261,13 @@ function commands.check(arg)
                                                end
                                                if config.get(host, "component_module") == nil
                                                        and not x509_verify_identity(host, "_xmpp-client", cert) then
-                                                       print("    Not vaild for client connections to "..host..".")
+                                                       print("    Not valid for client connections to "..host..".")
                                                        cert_ok = false
                                                end
                                                if (not (config.get(host, "anonymous_login")
                                                        or config.get(host, "authentication") == "anonymous"))
                                                        and not x509_verify_identity(host, "_xmpp-server", cert) then
-                                                       print("    Not vaild for server-to-server connections to "..host..".")
+                                                       print("    Not valid for server-to-server connections to "..host..".")
                                                        cert_ok = false
                                                end
                                        end