permit reconnection of a given picoirc context
authorPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 8 Feb 2010 19:19:40 +0000 (19:19 +0000)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 8 Feb 2010 19:19:40 +0000 (19:19 +0000)
commit08922922cd2226dd6e26a2f283806ecc0a10164e
tree29595aa468d9209447c2f6a0528075ccfa861aa3
parent1a45b50e78633e1d0a079aa96dcbcfee65c20a8a
permit reconnection of a given picoirc context

This adds a reconnect command to picoirc to get an existing context to
reconnect. This is useful for accidental disconnects from wifi lines or
proxy timeouts.

Rearranged the main read event handler to ensure we test for eof after
reading properly.

Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
lib/irc/picoirc.tcl