aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-12-30 18:25:23 +0100
committerKim Alvefur <zash@zash.se>2016-12-30 18:25:23 +0100
commit3f2bb3f81744eb9095715e84578f72791c6fdc77 (patch)
tree066f047be70f89fc8b5c41be8e051c6713fa3019 /net
parent6e6d42e3c0617a38fe8e6a358c82c38e286ca352 (diff)
downloadprosody-3f2bb3f81744eb9095715e84578f72791c6fdc77.tar.gz
prosody-3f2bb3f81744eb9095715e84578f72791c6fdc77.zip
net.http: Remove unused imports [luacheck]
Diffstat (limited to 'net')
-rw-r--r--net/http.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/http.lua b/net/http.lua
index 5c1f2058..55b4a2d6 100644
--- a/net/http.lua
+++ b/net/http.lua
@@ -17,9 +17,9 @@ local server = require "net.server"
local t_insert, t_concat = table.insert, table.concat;
local pairs = pairs;
-local tonumber, tostring, xpcall, select, traceback =
- tonumber, tostring, xpcall, select, debug.traceback;
-local assert, error = assert, error
+local tonumber, tostring, xpcall, traceback =
+ tonumber, tostring, xpcall, debug.traceback;
+local error = error
local log = require "util.logger".init("http");