Software /
code /
prosody
Diff
plugins/mod_tls.lua @ 120:ef964468f174
TLS/SASL no longer should include the connhandler module
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 23 Oct 2008 03:53:51 +0100 |
parent | 99:ba08b8a4eeef |
child | 303:89e8f53b870e |
line wrap: on
line diff
--- a/plugins/mod_tls.lua Thu Oct 23 03:52:51 2008 +0100 +++ b/plugins/mod_tls.lua Thu Oct 23 03:53:51 2008 +0100 @@ -13,8 +13,6 @@ local xmlns_starttls ='urn:ietf:params:xml:ns:xmpp-tls'; -local new_connhandler = require "net.connhandlers".new; - add_handler("c2s_unauthed", "starttls", xmlns_starttls, function (session, stanza) if session.conn.starttls then @@ -35,4 +33,4 @@ if session.conn.starttls then t_insert(features, "<starttls xmlns='"..xmlns_starttls.."'/>"); end - end); \ No newline at end of file + end);