comments
This commit is contained in:
parent
7cd73d96ff
commit
e64efeceec
2
irc.go
2
irc.go
@ -96,6 +96,8 @@ func GetNick(name string) string {
|
|||||||
return strings.Split(name, "!")[0]
|
return strings.Split(name, "!")[0]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: simplify this to pass gocyclo
|
||||||
|
//TODO: handle NICK messages
|
||||||
func (c *Connection) parseMessage(line string) {
|
func (c *Connection) parseMessage(line string) {
|
||||||
if line[0] == ':' {
|
if line[0] == ':' {
|
||||||
buf := line[1:]
|
buf := line[1:]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user