Remove select statement in irc.recv()

This commit is contained in:
Ken-Håvard Lieng 2016-01-24 22:02:37 +01:00
parent a68f5621bc
commit a9031eb532

View File

@ -173,13 +173,7 @@ func (c *Client) recv() {
}
msg := parseMessage(line)
select {
case <-c.quit:
return
case c.Messages <- msg:
}
c.Messages <- msg
switch msg.Command {
case Ping: