--- a/plugins/mod_s2s/mod_s2s.lua Mon Apr 15 12:30:40 2013 +0100
+++ b/plugins/mod_s2s/mod_s2s.lua Mon Apr 15 19:37:15 2013 +0200
@@ -642,7 +642,7 @@
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