Merge 0.10->trunk
[prosody.git] / plugins / mod_s2s / mod_s2s.lua
index 3de59d351ecf34a6bfc80d4fd96b7d5ca7dd036f..e704c25a00c172262ecac5ede188541c6df88258 100644 (file)
@@ -235,7 +235,7 @@ function make_authenticated(event)
 end
 
 --- Helper to check that a session peer's certificate is valid
-local function check_cert_status(session)
+function check_cert_status(session)
        local host = session.direction == "outgoing" and session.to_host or session.from_host
        local conn = session.conn:socket()
        local cert