plugins/mod_tls.lua

changeset 120
ef964468f174
parent 99
ba08b8a4eeef
child 303
89e8f53b870e
--- 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