diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-30 18:45:46 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-30 18:45:46 +0000 |
commit | 5586351c7eb5b81e5335b5857f465b03b913e0fa (patch) | |
tree | 03801fff0a8de9be99c45e8e7748bda4058bc006 /core/s2smanager.lua | |
parent | 5ca850a51c129b36e28fc0838d78b00e153324a9 (diff) | |
download | prosody-5586351c7eb5b81e5335b5857f465b03b913e0fa.tar.gz prosody-5586351c7eb5b81e5335b5857f465b03b913e0fa.zip |
s2smanager: Fix syntax error)
Diffstat (limited to 'core/s2smanager.lua')
-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 d2778a5c..19e318bc 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", "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 " |