summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--touchscreen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/touchscreen.lua b/touchscreen.lua
index 285590b..6325f28 100644
--- a/touchscreen.lua
+++ b/touchscreen.lua
@@ -253,7 +253,7 @@ digistuff.ts_on_digiline_receive = function (pos, node, channel, msg)
data = digistuff.process_command(meta,data,msg)
else
for _,i in ipairs(msg) do
- if i.command then
+ if type(i) == "table" and i.command then
data = digistuff.process_command(meta,data,i) or data
end
end