Add RPL_ISUPPORT parsing

This commit is contained in:
Ken-Håvard Lieng 2018-04-28 20:31:44 +02:00
parent 735f96d3b1
commit f2504cc245
5 changed files with 84 additions and 0 deletions

View file

@ -24,6 +24,7 @@ type Client struct {
nick string
channels []string
Support *iSupport
conn net.Conn
connected bool
@ -41,6 +42,7 @@ type Client struct {
func NewClient(nick, username string) *Client {
return &Client{
nick: nick,
Support: newISupport(),
Username: username,
Realname: nick,
Messages: make(chan *Message, 32),