diff --git a/init.lua b/init.lua index 4dd91c2..b96405c 100755 --- a/init.lua +++ b/init.lua @@ -28,7 +28,7 @@ local checkReboot checkReboot = function() if reboot and next(minetest.get_connected_players()) == nil then -- 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) end end