Comparison

plugins/mod_tls.lua @ 303:89e8f53b870e

Unused variables in mod_tls
author Waqas Hussain <waqas20@gmail.com>
date Sun, 16 Nov 2008 02:52:54 +0500
parent 120:ef964468f174
child 316:13e2bd256a20
comparison
equal deleted inserted replaced
297:15b375870b40 303:89e8f53b870e
1 1
2 local st = require "util.stanza"; 2 local st = require "util.stanza";
3 local send = require "core.sessionmanager".send_to_session; 3 local send = require "core.sessionmanager".send_to_session;
4 local sm_bind_resource = require "core.sessionmanager".bind_resource;
5 4
6 local sessions = sessions; 5 --local sessions = sessions;
7 6
8 local usermanager_validate_credentials = require "core.usermanager".validate_credentials; 7 local t_insert = table.insert;
9 local t_concat, t_insert = table.concat, table.insert;
10 local tostring = tostring;
11 8
12 local log = require "util.logger".init("mod_starttls"); 9 local log = require "util.logger".init("mod_starttls");
13 10
14 local xmlns_starttls ='urn:ietf:params:xml:ns:xmpp-tls'; 11 local xmlns_starttls ='urn:ietf:params:xml:ns:xmpp-tls';
15 12