diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-30 17:00:47 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-30 17:00:47 +0000 |
commit | 54f4000c5a097e782c5619f13710748c3b8e00df (patch) | |
tree | 3214120052eaa4046203a621d3db9b9ae501d764 /core | |
parent | d169b18350f21065da6455a51185759c356019c5 (diff) | |
download | prosody-54f4000c5a097e782c5619f13710748c3b8e00df.tar.gz prosody-54f4000c5a097e782c5619f13710748c3b8e00df.zip |
s2smanager: require_s2s_encryption -> s2s_require_encryption
Diffstat (limited to 'core')
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index c9a26e04..74cd8593 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", "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 " |