Change irc:say() to irc.say()

This commit is contained in:
luk3yx 2018-02-24 12:43:18 +13:00
parent 38a1356d12
commit 569544ac7e
1 changed files with 1 additions and 1 deletions

View File

@ -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