Add RPL_ISUPPORT parsing
This commit is contained in:
parent
735f96d3b1
commit
f2504cc245
5 changed files with 84 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue