aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-01-30 17:00:47 +0000
committerMatthew Wild <mwild1@gmail.com>2010-01-30 17:00:47 +0000
commit5ca850a51c129b36e28fc0838d78b00e153324a9 (patch)
treeee7eaa462dce223f88d6d9ecca790ba6a4c28318
parent4a7e2575df44bf558655f18a482ea240fb9e8cf1 (diff)
downloadprosody-5ca850a51c129b36e28fc0838d78b00e153324a9.tar.gz
prosody-5ca850a51c129b36e28fc0838d78b00e153324a9.zip
s2smanager: require_s2s_encryption -> s2s_require_encryption
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index a8ee04f9..d2778a5c 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -455,7 +455,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", "require_s2s_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 "