mod_s2s: Add missing space
authorKim Alvefur <zash@zash.se>
Mon, 15 Apr 2013 17:37:15 +0000 (19:37 +0200)
committerKim Alvefur <zash@zash.se>
Mon, 15 Apr 2013 17:37:15 +0000 (19:37 +0200)
plugins/mod_s2s/mod_s2s.lua

index eb10cd359492a9a480158f3f1e78e64eb2d798c8..6764e85761bb34219eafff3e6ab2d9e6257ced2b 100644 (file)
@@ -642,7 +642,7 @@ function check_auth_policy(event)
        if must_secure and not session.cert_identity_status then
                module:log("warn", "Forbidding insecure connection to/from %s", host);
                if session.direction == "incoming" then
-                       session:close({ condition = "not-authorized", text = "Your server's certificate is invalid, expired, or not trusted by"..session.to_host });
+                       session:close({ condition = "not-authorized", text = "Your server's certificate is invalid, expired, or not trusted by "..session.to_host });
                else -- Close outgoing connections without warning
                        session:close(false);
                end