From b786c08104d9bb8e1db75e911a41de7e787c6df6 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 11 Dec 2019 04:26:40 +1000 Subject: Typo-- Which just happened to work anyway, coz til, being undefined, is equal to nil. --- apt-panopticommon.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apt-panopticommon.lua b/apt-panopticommon.lua index 65a50b8..7f4d8f1 100644 --- a/apt-panopticommon.lua +++ b/apt-panopticommon.lua @@ -556,7 +556,7 @@ APT.doRRD = function(l, k, v) results = APT.fill(results) APT.createRRD(k) APT.updateRRD(results, k) - if til ~= v then + if nil ~= v then local IPs = v.IPs for i, u in pairs(IPs) do if "table" == type(u) then -- cgit v1.1