aboutsummaryrefslogtreecommitdiffstats
path: root/net/http
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-08-13 16:10:17 +0200
committerKim Alvefur <zash@zash.se>2016-08-13 16:10:17 +0200
commit96e44863cf8d6bad4feb1d22954906f0629cfb89 (patch)
tree023b0ae955230ed7ea278630308e375270bfb70e /net/http
parent3edcb947b2f2c5fc9671aa341eeac171d7d42ea9 (diff)
downloadprosody-96e44863cf8d6bad4feb1d22954906f0629cfb89.tar.gz
prosody-96e44863cf8d6bad4feb1d22954906f0629cfb89.zip
net.http.codes: Remove used argument
Diffstat (limited to 'net/http')
-rw-r--r--net/http/codes.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/codes.lua b/net/http/codes.lua
index bc31c7dd..1801c6b3 100644
--- a/net/http/codes.lua
+++ b/net/http/codes.lua
@@ -70,4 +70,4 @@ local response_codes = {
};
for k,v in pairs(response_codes) do response_codes[k] = k.." "..v; end
-return setmetatable(response_codes, { __index = function(t, k) return k.." Unassigned"; end })
+return setmetatable(response_codes, { __index = function(_, k) return k.." Unassigned"; end })