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
commite14306d7427b25ec347d436a992c48c2ad8d6ceb (patch)
tree066f047be70f89fc8b5c41be8e051c6713fa3019 /net
parent8fa3305358309eb79f24c66bb08555ae5e785efa (diff)
downloadprosody-e14306d7427b25ec347d436a992c48c2ad8d6ceb.tar.gz
prosody-e14306d7427b25ec347d436a992c48c2ad8d6ceb.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");