aboutsummaryrefslogtreecommitdiffstats
path: root/util/serialization.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-12-08 17:10:51 +0100
committerKim Alvefur <zash@zash.se>2018-12-08 17:10:51 +0100
commit5a608450d505944cbac268f28e48751c8fa3ee10 (patch)
treed5b43fb99c2898721ab605e16478d773e7eba5ba /util/serialization.lua
parent2b289f34f929a69424a22bb0de3b668a58ba80cd (diff)
downloadprosody-5a608450d505944cbac268f28e48751c8fa3ee10.tar.gz
prosody-5a608450d505944cbac268f28e48751c8fa3ee10.zip
lint: Remove use of the 143 error code
Does not appear to be invoked by anything
Diffstat (limited to 'util/serialization.lua')
-rw-r--r--util/serialization.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/util/serialization.lua b/util/serialization.lua
index dd6a2a2b..7ae77a3a 100644
--- a/util/serialization.lua
+++ b/util/serialization.lua
@@ -20,7 +20,6 @@ local pcall = pcall;
local envload = require"util.envload".envload;
local pos_inf, neg_inf = math.huge, -math.huge;
--- luacheck: ignore 143/math
local m_type = math.type or function (n)
return n % 1 == 0 and n <= 9007199254740992 and n >= -9007199254740992 and "integer" or "float";
end;