# HG changeset patch # User Matthew Wild # Date 1264877146 0 # Node ID 7174e6ea069d9bd1cc495a858cff91021f97383f # Parent 0db17d1f77fb8a11dbd4fbba8a69cad8610a0cde s2smanager: Fix syntax error) diff -r 0db17d1f77fb -r 7174e6ea069d core/s2smanager.lua --- a/core/s2smanager.lua Sat Jan 30 17:00:47 2010 +0000 +++ b/core/s2smanager.lua Sat Jan 30 18:45:46 2010 +0000 @@ -455,7 +455,7 @@ 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 "