aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
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
commit001f4a7c752571c3f4536b5e7a53a7e4c1451293 (patch)
treefe4ba520a03062a7988b8d7eb60a0cc426cd6abc /plugins/mod_s2s/mod_s2s.lua
parent0e656606c0200da0f0b35df4bd827245a2828fa7 (diff)
downloadprosody-001f4a7c752571c3f4536b5e7a53a7e4c1451293.tar.gz
prosody-001f4a7c752571c3f4536b5e7a53a7e4c1451293.zip
mod_s2s: Add missing space
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-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