Added auto-reconnect on ping timeout

This commit is contained in:
Diego Martínez
2013-01-08 13:50:47 -02:00
parent 10afaf5783
commit 7caf0dc25f
8 changed files with 80 additions and 21 deletions

View File

@ -1,3 +1,16 @@
-- IRC Mod for Minetest
-- By Diego Martínez <kaeza@users.sf.net>
--
-- This mod allows to tie a Minetest server to an IRC channel.
--
-- This program is free software. It comes without any warranty, to
-- the extent permitted by applicable law. You can redistribute it
-- and/or modify it under the terms of the Do What The Fuck You Want
-- To Public License, Version 2, as published by Sam Hocevar. See
-- http://sam.zoy.org/wtfpl/COPYING for more details.
--
-- *************************
-- ** BASIC USER SETTINGS **
-- *************************
@ -8,7 +21,7 @@ mt_irc.server = nil;
-- Port to connect on joinplayer (number, default 6667)
mt_irc.port = nil;
-- Channel to connect on joinplayer (string, default "#minetest-irc-testing")
-- Channel to connect on joinplayer (string, default "##mt-irc-mod")
mt_irc.channel = nil;
-- ***********************
@ -23,7 +36,7 @@ mt_irc.timeout = nil;
-- Nickname when using single conection (string, default "minetest-"..<server-id>);
-- (<server-id> is the server IP address packed as a 32 bit integer).
mt_irc.server_nick = nil;
mt_irc.server_nick = "HelloIRC";
-- Password to use when using single connection (string, default "")
mt_irc.password = nil;