mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-09-27 23:00:29 +02:00
Ignore remote firmware updates if the channel is blank
This commit is contained in:
parent
7f85da7de7
commit
c57fc53de2
|
@ -528,7 +528,7 @@ local digiline = {
|
|||
action = function(pos, node, channel, msg)
|
||||
local meta = minetest.get_meta(pos)
|
||||
local setchan = meta:get_string("channel")
|
||||
if channel == setchan then
|
||||
if setchan ~= "" and channel == setchan then
|
||||
mesecon.program_luac(pos,msg)
|
||||
else
|
||||
run(pos, {type = "digiline", channel = channel, msg = msg})
|
||||
|
|
Loading…
Reference in New Issue
Block a user