Changeset

4475:7341cc5c8da9

mod_tls: Fix log statement (thanks Zash)
author Matthew Wild <mwild1@gmail.com>
date Wed, 18 Jan 2012 15:07:26 +0000
parents 4473:7e2cf20aef74
children 4478:3e33b2d2e48e
files plugins/mod_tls.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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