mod_admin_telnet: Refactor so that command processing is performed in a separate...
[prosody.git] / plugins / mod_tls.lua
index cace2d693efb530b26eadb633342aa101d55533c..707ae8f5aecb530430f0aa9e582b03ddb39323e7 100644 (file)
@@ -75,7 +75,7 @@ end);
 module:hook_stanza("http://etherx.jabber.org/streams", "features", function (session, stanza)
        module:log("debug", "Received features element");
        if can_do_tls(session) and stanza:child_with_ns(xmlns_starttls) then
-               module:log("%s is offering TLS, taking up the offer...", session.to_host);
+               module:log("debug", "%s is offering TLS, taking up the offer...", session.to_host);
                session.sends2s("<starttls xmlns='"..xmlns_starttls.."'/>");
                return true;
        end