Commit Graph
11 Commits
Author SHA1 Message Date
lye 4f82a31c9c Minor tweaks to play nicely with the new go tool 2012-03-28 01:15:26 -05:00
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 b06c2dfa4a Standardized on 'irc' as the method receiver name for IRCConn methods 2012-03-21 23:02:29 -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 a008509e20 Kill the example, will replace with tests later 2012-03-21 22:39:33 -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
lye d544994641 rfc1459 compliance: PASS before NICK/USER 2012-03-20 23:11:35 -05:00
lye 07b619e8f2 Temporarily use my tls fixes until they're merged 2012-03-20 23:08:05 -05:00
lye 52c17040d5 Make the SSL config app-configurable 2012-03-18 17:08:05 -05:00
lye b62f72a746 Hack in SSL support 2012-03-18 16:51:13 -05:00