Diff

plugins/mod_s2s/mod_s2s.lua @ 5474:11f08a27c417

mod_s2s: Add missing space
author Kim Alvefur <zash@zash.se>
date Mon, 15 Apr 2013 19:37:15 +0200
parent 5454:5f69fddf6fb9
child 5505:0b6a99e6c1b1
line wrap: on
line diff
--- 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