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
commitdf24c2b55ccd46351158a94ab1d8700f17d74f5a (patch)
treefe4ba520a03062a7988b8d7eb60a0cc426cd6abc /plugins/mod_s2s
parente8bee5c5bae052c8e22065b6212f7ee04193bde1 (diff)
downloadprosody-df24c2b55ccd46351158a94ab1d8700f17d74f5a.tar.gz
prosody-df24c2b55ccd46351158a94ab1d8700f17d74f5a.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