Changeset

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
parents 119:b48a573608e8
children 121:74e5919e4737
files plugins/mod_saslauth.lua plugins/mod_tls.lua
diffstat 2 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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,
--- 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);