aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-30 18:45:46 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-30 18:45:46 +0000
commit0b4f0121a1f2692933e80155514721811daccee2 (patch)
treea7be2014abe56c6dfd7d20f919fb1109b1c17faf
parent54f4000c5a097e782c5619f13710748c3b8e00df (diff)
downloadprosody-0b4f0121a1f2692933e80155514721811daccee2.tar.gz
prosody-0b4f0121a1f2692933e80155514721811daccee2.zip
s2smanager: Fix syntax error)
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index 74cd8593..10c27746 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -451,7 +451,7 @@ end
function make_authenticated(session, host)
if not session.secure then
local local_host = session.direction == "incoming" and session.to_host or session.from_host;
- if config.get(local_host, "core", "s2s_require_encryption")) then
+ if config.get(local_host, "core", "s2s_require_encryption") then
session:close({
condition = "policy-violation",
text = "Encrypted server-to-server communication is required but was not "