summaryrefslogtreecommitdiff
path: root/lightsensor.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lightsensor.lua')
-rw-r--r--lightsensor.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lightsensor.lua b/lightsensor.lua
index 86a29c9..21f66f9 100644
--- a/lightsensor.lua
+++ b/lightsensor.lua
@@ -25,7 +25,7 @@ local on_digiline_receive = function (pos, node, channel, msg)
local setchan = minetest.get_meta(pos):get_string("channel")
if channel == setchan and msg == GET_COMMAND then
local lightval = minetest.get_node_light(pos)
- digiline:receptor_send(pos, digiline.rules.default, channel, lightval)
+ digilines:receptor_send(pos, digilines.rules.default, channel, lightval)
end
end