Fix crash

This commit is contained in:
bri cassa 2021-04-06 18:59:02 +02:00
parent 90be91e9d6
commit a9febb7572
1 changed files with 3 additions and 0 deletions

View File

@ -262,6 +262,9 @@ local function on_digiline_receive(pos, node, channel, msg)
end
local wls = moremesecons.get_data_from_pos(wireless_meta, pos)
if not wls then
return
end
if wls.owner == "" or not wireless[wls.owner] or channel == "" or not wireless[wls.owner][wls.channel] then
return