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:
parent
25696a8e9a
commit
4313a06505
@ -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.")
|
||||
|
Loading…
Reference in New Issue
Block a user