aboutsummaryrefslogtreecommitdiffstats
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
commit6d04bd7093add7e7a4c515b5d5d3d4bf13672c61 (patch)
treefe4ba520a03062a7988b8d7eb60a0cc426cd6abc
parent47fe2a07750bfd747487613067354659e868f9b6 (diff)
downloadprosody-6d04bd7093add7e7a4c515b5d5d3d4bf13672c61.tar.gz
prosody-6d04bd7093add7e7a4c515b5d5d3d4bf13672c61.zip
mod_s2s: Add missing space
-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