aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commita5612dad90e194a256a5a2f0f1938d656055f3af (patch)
tree6c7acd2f57f34edd8882a53b36a30f8c8a2aa69e /plugins
parentc27589b44c5312d9119d0152ed4dcf1b5492414c (diff)
downloadprosody-a5612dad90e194a256a5a2f0f1938d656055f3af.tar.gz
prosody-a5612dad90e194a256a5a2f0f1938d656055f3af.zip
mod_c2s: Remove unused locals [luacheck]
Diffstat (limited to 'plugins')
-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";