1
0
mirror of https://github.com/minetest-mods/irc.git synced 2024-12-27 09:10:21 +01:00

Fix crash

This commit is contained in:
ShadowNinja 2013-08-28 10:58:12 -04:00
parent 25696a8e9a
commit 4313a06505

View File

@ -181,7 +181,7 @@ function mt_irc.hooks.disconnect(message, isError)
if isError then
minetest.log("error", "IRC: Error: Disconnected, reconnecting in one minute.")
minetest.chat_send_all("IRC: Error: Disconnected, reconnecting in one minute.")
minetest.after(60, mt_irc.connect)
minetest.after(60, mt_irc.connect, mt_irc)
else
minetest.log("action", "IRC: Disconnected.")
minetest.chat_send_all("IRC: Disconnected.")