aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-01 22:40:09 +0200
committerKim Alvefur <zash@zash.se>2017-04-01 22:40:09 +0200
commit75ed409006e229b29beeaff5807f227ace290eef (patch)
tree6c7acd2f57f34edd8882a53b36a30f8c8a2aa69e
parent046661149f85faca61b40fee3dcaf68dea771c36 (diff)
downloadprosody-75ed409006e229b29beeaff5807f227ace290eef.tar.gz
prosody-75ed409006e229b29beeaff5807f227ace290eef.zip
mod_c2s: Remove unused locals [luacheck]
-rw-r--r--plugins/mod_c2s.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua
index c1b5ee98..f18c2827 100644
--- a/plugins/mod_c2s.lua
+++ b/plugins/mod_c2s.lua
@@ -17,8 +17,7 @@ local sm_new_session, sm_destroy_session = sessionmanager.new_session, sessionma
local uuid_generate = require "util.uuid".generate;
local runner = require "util.async".runner;
-local xpcall, tostring, type = xpcall, tostring, type;
-local t_insert, t_remove = table.insert, table.remove;
+local tostring, type = tostring, type;
local xmlns_xmpp_streams = "urn:ietf:params:xml:ns:xmpp-streams";