mirror of
https://github.com/ergochat/ergo.git
synced 2026-01-10 04:12:06 -08:00
get rid of editableCommand
This commit is contained in:
parent
d1a299792e
commit
77d053ccac
4 changed files with 39 additions and 43 deletions
|
|
@ -18,7 +18,7 @@ type Client struct {
|
|||
capabilities CapabilitySet
|
||||
capState CapState
|
||||
channels ChannelSet
|
||||
commands chan editableCommand
|
||||
commands chan Command
|
||||
ctime time.Time
|
||||
flags map[UserMode]bool
|
||||
hasQuit bool
|
||||
|
|
@ -43,7 +43,7 @@ func NewClient(server *Server, conn net.Conn) *Client {
|
|||
capState: CapNone,
|
||||
capabilities: make(CapabilitySet),
|
||||
channels: make(ChannelSet),
|
||||
commands: make(chan editableCommand),
|
||||
commands: make(chan Command),
|
||||
ctime: now,
|
||||
flags: make(map[UserMode]bool),
|
||||
phase: Registration,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue