diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-04-15 21:22:45 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-04-15 21:22:45 +0100 |
commit | c30a7e8545d1354afe6c25018c7b74d6e09604da (patch) | |
tree | 02949c230f40ca6734b9263cca7e2d1caae3bdee /plugins/mod_s2s/mod_s2s.lua | |
parent | 6c0fbb813fe6fc10fefeb076221e756521bd033e (diff) | |
parent | 91b727be710169b424cae0cd9f7d782230599b2b (diff) | |
download | prosody-c30a7e8545d1354afe6c25018c7b74d6e09604da.tar.gz prosody-c30a7e8545d1354afe6c25018c7b74d6e09604da.zip |
Merge 0.9->trunk
Diffstat (limited to 'plugins/mod_s2s/mod_s2s.lua')
-rw-r--r-- | plugins/mod_s2s/mod_s2s.lua | 2 |
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 |