TLS/SASL no longer should include the connhandler module

Thu, 23 Oct 2008 03:53:51 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 23 Oct 2008 03:53:51 +0100
changeset 120
ef964468f174
parent 119
b48a573608e8
child 121
74e5919e4737

TLS/SASL no longer should include the connhandler module

plugins/mod_saslauth.lua file | annotate | diff | comparison | revisions
plugins/mod_tls.lua file | annotate | diff | comparison | revisions
--- 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);

mercurial