1
0
Fork 0
forked from External/ergo

modes: Continue overhauling

This commit is contained in:
Daniel Oaks 2017-03-24 12:23:21 +10:00
parent 657ed644cb
commit 05074e966d
5 changed files with 266 additions and 246 deletions

View file

@ -43,7 +43,7 @@ type Client struct {
channels ChannelSet
class *OperClass
ctime time.Time
flags map[UserMode]bool
flags map[Mode]bool
isDestroyed bool
isQuitting bool
hasQuit bool
@ -83,7 +83,7 @@ func NewClient(server *Server, conn net.Conn, isTLS bool) *Client {
capVersion: Cap301,
channels: make(ChannelSet),
ctime: now,
flags: make(map[UserMode]bool),
flags: make(map[Mode]bool),
monitoring: make(map[string]bool),
server: server,
socket: &socket,