# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1326899246 0
# Node ID 7341cc5c8da90fb536dcdbfe98f7a56680a06964
# Parent  7e2cf20aef7403bc8e62d4be4c920647db5943cc
mod_tls: Fix log statement (thanks Zash)

diff -r 7e2cf20aef74 -r 7341cc5c8da9 plugins/mod_tls.lua
--- a/plugins/mod_tls.lua	Tue Jan 17 17:56:36 2012 +0000
+++ b/plugins/mod_tls.lua	Wed Jan 18 15:07:26 2012 +0000
@@ -75,7 +75,7 @@
 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