aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-04-15 19:37:15 +0200
committerKim Alvefur <zash@zash.se>2013-04-15 19:37:15 +0200
commitd1c7fed605d0616e3b2d68c69a35879f705c0422 (patch)
treefe4ba520a03062a7988b8d7eb60a0cc426cd6abc /plugins/mod_s2s
parent31ca3b068102fec971e5f00ff09d6f0fa63e64d1 (diff)
downloadprosody-d1c7fed605d0616e3b2d68c69a35879f705c0422.tar.gz
prosody-d1c7fed605d0616e3b2d68c69a35879f705c0422.zip
mod_s2s: Add missing space
Diffstat (limited to 'plugins/mod_s2s')
-rw-r--r--plugins/mod_s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua
index eb10cd35..6764e857 100644
--- a/plugins/mod_s2s/mod_s2s.lua
+++ b/plugins/mod_s2s/mod_s2s.lua
@@ -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