aboutsummaryrefslogtreecommitdiffstats
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
commit18889eae1b802daa52c282d5ebd1a2dfe078b250 (patch)
treebe75e1df5b9e945fbd414f8ea7b68d12b26acdbf
parent8994b3afd1cd62a0caf715093095b7163fdf710c (diff)
downloadprosody-18889eae1b802daa52c282d5ebd1a2dfe078b250.tar.gz
prosody-18889eae1b802daa52c282d5ebd1a2dfe078b250.zip
sessionmanager, s2smanager: Remove unused imports
-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)