aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_tls.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2012-01-18 15:07:26 +0000
committerMatthew Wild <mwild1@gmail.com>2012-01-18 15:07:26 +0000
commit32d3713a7aaf792565a435f6b657a1102c34c012 (patch)
treed3bbf717390b9dc8ee1d743590f5bc9baf1b524b /plugins/mod_tls.lua
parent0a3dc54d63e4f6b263831815025c09c1eb73d093 (diff)
downloadprosody-32d3713a7aaf792565a435f6b657a1102c34c012.tar.gz
prosody-32d3713a7aaf792565a435f6b657a1102c34c012.zip
mod_tls: Fix log statement (thanks Zash)
Diffstat (limited to 'plugins/mod_tls.lua')
-rw-r--r--plugins/mod_tls.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua
index cace2d69..707ae8f5 100644
--- a/plugins/mod_tls.lua
+++ b/plugins/mod_tls.lua
@@ -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