mirror of
https://github.com/IllusionMan1212/gorc.git
synced 2026-10-24 02:12:33 +00:00
chore: document and add RFC1459, RFC2812 and IRCv3 commands
* also rename ChannelIndex to ActiveChannelIndex
This commit is contained in:
+2
-2
@@ -68,7 +68,7 @@ type Client struct {
|
||||
ActiveChannel string
|
||||
|
||||
// Active channel index
|
||||
ChannelIndex int
|
||||
ActiveChannelIndex int
|
||||
|
||||
// Reference to the bubbletea program
|
||||
Tea *tea.Program
|
||||
@@ -136,7 +136,7 @@ func (c *Client) Register(nick string, password string, channel string) {
|
||||
Name: c.ActiveChannel,
|
||||
Users: make(map[string]User),
|
||||
})
|
||||
c.ChannelIndex = 1
|
||||
c.ActiveChannelIndex = 1
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user