aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-15 21:22:45 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-15 21:22:45 +0100
commit324a9e2d5fa9fe43dcc930c346a13797afe23f16 (patch)
tree02949c230f40ca6734b9263cca7e2d1caae3bdee /plugins
parent7d8f9c74e732470bfef35f862e2434b7fd8cc746 (diff)
parent992ed43b25a7197bc62b1e002ec30b7c1f76370e (diff)
downloadprosody-324a9e2d5fa9fe43dcc930c346a13797afe23f16.tar.gz
prosody-324a9e2d5fa9fe43dcc930c346a13797afe23f16.zip
Merge 0.9->trunk
Diffstat (limited to 'plugins')
-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