diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-22 23:38:21 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-22 23:38:21 +0100 |
commit | c48d02e1d0e4176941585f144cbe6000101ae5f4 (patch) | |
tree | 6025a4210cca47b643da22a1aa5e93ea5a9d0a60 | |
parent | 21fb56dc4a8cb6f8d442d96fa5f0b600ef15403b (diff) | |
download | prosody-c48d02e1d0e4176941585f144cbe6000101ae5f4.tar.gz prosody-c48d02e1d0e4176941585f144cbe6000101ae5f4.zip |
sessionmanager: Clean up some unused variables and imports
-rw-r--r-- | core/sessionmanager.lua | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 131c29f7..bd9255a2 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -6,8 +6,8 @@ -- COPYING file in the source package for more information. -- -local tonumber, tostring, setmetatable = tonumber, tostring, setmetatable; -local ipairs, pairs, print, next= ipairs, pairs, print, next; +local tostring, setmetatable = tostring, setmetatable; +local pairs, next= pairs, next; local hosts = hosts; local full_sessions = full_sessions; @@ -15,7 +15,6 @@ local bare_sessions = bare_sessions; local logger = require "util.logger"; local log = logger.init("sessionmanager"); -local error = error; local rm_load_roster = require "core.rostermanager".load_roster; local config_get = require "core.configmanager".get; local resourceprep = require "util.encodings".stringprep.resourceprep; @@ -23,12 +22,8 @@ local nodeprep = require "util.encodings".stringprep.nodeprep; local uuid_generate = require "util.uuid".generate; local initialize_filters = require "util.filters".initialize; -local fire_event = prosody.events.fire_event; -local add_task = require "util.timer".add_task; local gettime = require "socket".gettime; -local st = require "util.stanza"; - local newproxy = newproxy; local getmetatable = getmetatable; |