diff --git a/teleport_tube.lua b/teleport_tube.lua index 8ab4aeb..4a663d5 100644 --- a/teleport_tube.lua +++ b/teleport_tube.lua @@ -154,7 +154,7 @@ pipeworks.register_tube("pipeworks:teleport_tube", { meta:set_string("infotext", "unconfigured Teleportation Tube") end, on_receive_fields = function(pos,formname,fields,sender) - if not new_channel then + if not fields.channel then return -- ignore escaping or clientside manipulation of the form end local new_channel = tostring(fields.channel):trim()