This commit is contained in:
blackbeard420 2020-01-05 17:00:14 -05:00
parent 7cd73d96ff
commit e64efeceec

2
irc.go
View File

@ -96,6 +96,8 @@ func GetNick(name string) string {
return strings.Split(name, "!")[0]
}
//TODO: simplify this to pass gocyclo
//TODO: handle NICK messages
func (c *Connection) parseMessage(line string) {
if line[0] == ':' {
buf := line[1:]