summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcheapie <no-email-for-you@example.com>2016-09-28 11:06:48 -0500
committercheapie <no-email-for-you@example.com>2016-09-28 11:06:48 -0500
commit0cdbfe2be18c94e16c4cbf5c6aa96fde3dcdc344 (patch)
tree0e81fa74a4aa4840526221bc007ca28648055a5d
parent5356079c8a3bcf640e6c0cf73d7fe096bc1403d2 (diff)
downloaddigistuff-0cdbfe2be18c94e16c4cbf5c6aa96fde3dcdc344.tar
digistuff-0cdbfe2be18c94e16c4cbf5c6aa96fde3dcdc344.tar.gz
digistuff-0cdbfe2be18c94e16c4cbf5c6aa96fde3dcdc344.tar.bz2
digistuff-0cdbfe2be18c94e16c4cbf5c6aa96fde3dcdc344.tar.xz
digistuff-0cdbfe2be18c94e16c4cbf5c6aa96fde3dcdc344.zip
Fix crash on some validation failures
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 4f4666d..a50af15 100644
--- a/init.lua
+++ b/init.lua
@@ -249,7 +249,7 @@ digistuff.ts_on_digiline_receive = function (pos, node, channel, msg)
else
for _,i in ipairs(msg) do
if i.command then
- data = digistuff.process_command(meta,data,i)
+ data = digistuff.process_command(meta,data,i) or data
end
end
end