Commit Graph

4 Commits

Author SHA1 Message Date
lye
f2faa10846 Refactor reader/writer/pinger
The old code relied on a global bool for reconnect synchronization; this
would cause the reader/writer to stop (and not restart) on every other
`IRCConnection` when one was `Reconnect`d. This patch renames the
methods to indicate they loop, makes them methods on `IRCConnection`,
and uses a member of `IRCConnection` for synchronization rather than a
global.
2012-03-21 23:08:21 -05:00
lye
31036ff926 Remove calls to fmt.Printf; send to IRCConn.Log chan if it is non-nil 2012-03-21 22:57:35 -05:00
lye
a910f6d47d Minor formatting changes 2012-03-21 22:50:21 -05:00
lye
5fe3fea8c0 Hurrah, starting a real fork.
The old codebase is too messy for my taste and doesn't provide a clean
enough API. I don't like the name either, so I'm also rebranding it. I
don't care.
2012-03-21 22:38:22 -05:00