Change irc:say() to irc.say()
This commit is contained in:
parent
38a1356d12
commit
569544ac7e
2
init.lua
2
init.lua
|
@ -28,7 +28,7 @@ local checkReboot
|
||||||
checkReboot = function()
|
checkReboot = function()
|
||||||
if reboot and next(minetest.get_connected_players()) == nil then
|
if reboot and next(minetest.get_connected_players()) == nil then
|
||||||
-- Time to reboot
|
-- Time to reboot
|
||||||
if irc then irc:say("The server is empty! Rebooting...") end
|
if irc then irc.say("The server is empty! Rebooting...") end
|
||||||
minetest.request_shutdown("Rebooting...", true, 0)
|
minetest.request_shutdown("Rebooting...", true, 0)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue