forked from External/ergo
move StringSet to utils package
This commit is contained in:
parent
ddac7d94a8
commit
df8be72c6f
9 changed files with 50 additions and 40 deletions
|
|
@ -64,7 +64,7 @@ type Client struct {
|
|||
destroyed bool
|
||||
modes modes.ModeSet
|
||||
hostname string
|
||||
invitedTo StringSet
|
||||
invitedTo utils.StringSet
|
||||
isSTSOnly bool
|
||||
languages []string
|
||||
lastActive time.Time // last time they sent a command that wasn't PONG or similar
|
||||
|
|
@ -1641,7 +1641,7 @@ func (client *Client) Invite(casefoldedChannel string) {
|
|||
defer client.stateMutex.Unlock()
|
||||
|
||||
if client.invitedTo == nil {
|
||||
client.invitedTo = make(StringSet)
|
||||
client.invitedTo = make(utils.StringSet)
|
||||
}
|
||||
|
||||
client.invitedTo.Add(casefoldedChannel)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue