aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-11 17:35:39 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-11 17:35:39 +0100
commit09a18297ad321571a1a36b32361ad212c7ad5692 (patch)
treebe75e1df5b9e945fbd414f8ea7b68d12b26acdbf /core
parentda672e131f128388b628f323588e5ccc3d36cc52 (diff)
downloadprosody-09a18297ad321571a1a36b32361ad212c7ad5692.tar.gz
prosody-09a18297ad321571a1a36b32361ad212c7ad5692.zip
sessionmanager, s2smanager: Remove unused imports
Diffstat (limited to 'core')
-rw-r--r--core/s2smanager.lua4
-rw-r--r--core/sessionmanager.lua3
2 files changed, 2 insertions, 5 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index e4de498a..06d3f2c9 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -9,8 +9,8 @@
local hosts = prosody.hosts;
-local tostring, pairs, getmetatable, newproxy, setmetatable
- = tostring, pairs, getmetatable, newproxy, setmetatable;
+local tostring, pairs, setmetatable
+ = tostring, pairs, setmetatable;
local logger_init = require "util.logger".init;
diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua
index d178fb2d..98ead07f 100644
--- a/core/sessionmanager.lua
+++ b/core/sessionmanager.lua
@@ -24,9 +24,6 @@ local uuid_generate = require "util.uuid".generate;
local initialize_filters = require "util.filters".initialize;
local gettime = require "socket".gettime;
-local newproxy = newproxy;
-local getmetatable = getmetatable;
-
module "sessionmanager"
function new_session(conn)