get rid of editableCommand

This commit is contained in:
Jeremy Latt 2014-03-08 14:24:17 -08:00
parent d1a299792e
commit 77d053ccac
4 changed files with 39 additions and 43 deletions

View file

@ -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,