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
if session.conn.starttls then
t_insert(features, "<starttls xmlns='"..xmlns_starttls.."'/>");
end
- end);
\ No newline at end of file
+ end);