TLS/SASL no longer should include the connhandler module
authorMatthew Wild <mwild1@gmail.com>
Thu, 23 Oct 2008 02:53:51 +0000 (03:53 +0100)
committerMatthew Wild <mwild1@gmail.com>
Thu, 23 Oct 2008 02:53:51 +0000 (03:53 +0100)
plugins/mod_saslauth.lua
plugins/mod_tls.lua

index 1376b87b26140a952604388fbf389ffbbc0d2ed3..24c82a1c99a0ba9ac732eba04c054a65868a68ed 100644 (file)
@@ -13,7 +13,6 @@ local xmlns_sasl ='urn:ietf:params:xml:ns:xmpp-sasl';
 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,
index ab06b9a55d7e9faf15fad4aeb2337db8895961b9..fe787942fbc15d3453f344eef06a601b6e108d82 100644 (file)
@@ -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);