aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2019-12-11 04:26:40 +1000
committeronefang2019-12-11 04:26:40 +1000
commitb786c08104d9bb8e1db75e911a41de7e787c6df6 (patch)
tree23d46216c83aa441c1dfac354c49f82aeca39548
parentRename RRD-rescue to update-data. (diff)
downloadapt-panopticon-b786c08104d9bb8e1db75e911a41de7e787c6df6.zip
apt-panopticon-b786c08104d9bb8e1db75e911a41de7e787c6df6.tar.gz
apt-panopticon-b786c08104d9bb8e1db75e911a41de7e787c6df6.tar.bz2
apt-panopticon-b786c08104d9bb8e1db75e911a41de7e787c6df6.tar.xz
Typo--
Which just happened to work anyway, coz til, being undefined, is equal to nil.
-rw-r--r--apt-panopticommon.lua2
1 files changed, 1 insertions, 1 deletions
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)
556 results = APT.fill(results) 556 results = APT.fill(results)
557 APT.createRRD(k) 557 APT.createRRD(k)
558 APT.updateRRD(results, k) 558 APT.updateRRD(results, k)
559 if til ~= v then 559 if nil ~= v then
560 local IPs = v.IPs 560 local IPs = v.IPs
561 for i, u in pairs(IPs) do 561 for i, u in pairs(IPs) do
562 if "table" == type(u) then 562 if "table" == type(u) then