summaryrefslogtreecommitdiff
path: root/rtc.lua
diff options
context:
space:
mode:
authorDiego Martínez <kaeza@users.noreply.github.com>2017-03-01 00:57:58 -0300
committerAuke Kok <sofar+github@foo-projects.org>2017-03-14 21:57:01 -0700
commit6a2fa5a3e49ce3612e857b39a0c12ea8420e6795 (patch)
treec04c946337ed51277802836af2e3fa80868bc483 /rtc.lua
parent54b1b3fe91f2e7e774f305d4b57bb4367aca1cd6 (diff)
Rename global table to `digilines`.
This also adds a backwards compat alias so other mods shouldn't break.
Diffstat (limited to 'rtc.lua')
-rw-r--r--rtc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rtc.lua b/rtc.lua
index f8f6af4..0ad3f84 100644
--- a/rtc.lua
+++ b/rtc.lua
@@ -20,7 +20,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 timeofday = minetest.get_timeofday()
- digiline:receptor_send(pos, digiline.rules.default, channel, timeofday)
+ digilines:receptor_send(pos, digilines.rules.default, channel, timeofday)
end
end