Diff

plugins/mod_tls.lua @ 4475:7341cc5c8da9

mod_tls: Fix log statement (thanks Zash)
author Matthew Wild <mwild1@gmail.com>
date Wed, 18 Jan 2012 15:07:26 +0000
parent 4244:19c9bf88ec89
child 5370:7838acadb0fa
line wrap: on
line diff
--- 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