Comparison

core/sessionmanager.lua @ 5459:3a821511b9ec

sessionmanager, s2smanager: Remove unused imports
author Matthew Wild <mwild1@gmail.com>
date Thu, 11 Apr 2013 17:35:39 +0100
parent 5447:92b88476873a
child 5776:bd0ff8ae98a8
child 6599:f93e1b2ec327
comparison
equal deleted inserted replaced
5458:84162b81c863 5459:3a821511b9ec
21 local nodeprep = require "util.encodings".stringprep.nodeprep; 21 local nodeprep = require "util.encodings".stringprep.nodeprep;
22 local uuid_generate = require "util.uuid".generate; 22 local uuid_generate = require "util.uuid".generate;
23 23
24 local initialize_filters = require "util.filters".initialize; 24 local initialize_filters = require "util.filters".initialize;
25 local gettime = require "socket".gettime; 25 local gettime = require "socket".gettime;
26
27 local newproxy = newproxy;
28 local getmetatable = getmetatable;
29 26
30 module "sessionmanager" 27 module "sessionmanager"
31 28
32 function new_session(conn) 29 function new_session(conn)
33 local session = { conn = conn, type = "c2s_unauthed", conntime = gettime() }; 30 local session = { conn = conn, type = "c2s_unauthed", conntime = gettime() };