Refactor irc handler, add tests

This commit is contained in:
Ken-Håvard Lieng 2015-06-16 23:20:53 +02:00
parent d38daf976b
commit 047027ddec
4 changed files with 456 additions and 134 deletions

View file

@ -79,7 +79,7 @@ func reconnect() {
i.Connect(server.Address)
session.setIRC(i.Host, i)
go handleIRC(i, session)
go newIRCHandler(i, session).run()
var joining []string
for _, channel := range channels {