diff options
Diffstat (limited to 'plugins/mod_tls.lua')
-rw-r--r-- | plugins/mod_tls.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/mod_tls.lua b/plugins/mod_tls.lua index ab06b9a5..fe787942 100644 --- a/plugins/mod_tls.lua +++ b/plugins/mod_tls.lua @@ -13,8 +13,6 @@ local log = require "util.logger".init("mod_starttls"); 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 @@ add_event_hook("stream-features", if session.conn.starttls then t_insert(features, "<starttls xmlns='"..xmlns_starttls.."'/>"); end - end);
\ No newline at end of file + end); |