# HG changeset patch # User Matthew Wild # Date 1224730431 -3600 # Node ID ef964468f174b715c33bf362ad966806a5bfbc37 # Parent b48a573608e8c72c9c2fc56c81e57e1d297f5beb TLS/SASL no longer should include the connhandler module diff -r b48a573608e8 -r ef964468f174 plugins/mod_saslauth.lua --- a/plugins/mod_saslauth.lua Thu Oct 23 03:52:51 2008 +0100 +++ b/plugins/mod_saslauth.lua Thu Oct 23 03:53:51 2008 +0100 @@ -13,7 +13,6 @@ local xmlns_bind ='urn:ietf:params:xml:ns:xmpp-bind'; local xmlns_stanzas ='urn:ietf:params:xml:ns:xmpp-stanzas'; -local new_connhandler = require "net.connhandlers".new; local new_sasl = require "util.sasl".new; add_handler("c2s_unauthed", "auth", xmlns_sasl, diff -r b48a573608e8 -r ef964468f174 plugins/mod_tls.lua --- 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, ""); end - end); \ No newline at end of file + end);