aboutsummaryrefslogtreecommitdiffstats
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
commit8c797be6c44961cdd5a3f712ae421832cc4c22f0 (patch)
tree023b0ae955230ed7ea278630308e375270bfb70e
parent3550142f0bfe96a5ef90f07dafcdf6dec3000e21 (diff)
downloadprosody-8c797be6c44961cdd5a3f712ae421832cc4c22f0.tar.gz
prosody-8c797be6c44961cdd5a3f712ae421832cc4c22f0.zip
net.http.codes: Remove used argument
-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 })