Merge 0.9->0.10
[prosody.git] / plugins / mod_tls.lua
index e167cf950ec1db408d288ea779a27c153dd2e419..bab2202ea7eb01b0216944e40aa2359ca6a9a07c 100644 (file)
@@ -1,7 +1,7 @@
 -- Prosody IM
 -- Copyright (C) 2008-2010 Matthew Wild
 -- Copyright (C) 2008-2010 Waqas Hussain
--- 
+--
 -- This project is MIT/X11 licensed. Please see the
 -- COPYING file in the source package for more information.
 --
@@ -55,7 +55,6 @@ local function can_do_tls(session)
                return true;
        end
        if session.type == "c2s_unauthed" then
-               module:log("debug", "session.ssl_ctx = ssl_ctx_c2s;")
                session.ssl_ctx = ssl_ctx_c2s;
        elseif session.type == "s2sin_unauthed" and allow_s2s_tls then
                session.ssl_ctx = ssl_ctx_s2sin;