mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 10:10:08 -08:00
modes: Continue overhauling
This commit is contained in:
parent
657ed644cb
commit
05074e966d
5 changed files with 266 additions and 246 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue