diff options
Diffstat (limited to 'client/command.go')
| -rw-r--r-- | client/command.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/command.go b/client/command.go index 253cf59..2c146e9 100644 --- a/client/command.go +++ b/client/command.go @@ -90,7 +90,7 @@ func (a *application) doCommand(command string, args []string, text string) { switch win.(type) { case *channelWindow: win.(*channelWindow).userList(func(msg userListMsg) { - a.cmdWindow.buf.Add(msg) + a.cmdWindow.Buffer().Add(msg) }) } case "create": @@ -122,7 +122,7 @@ func (a *application) doCommand(command string, args []string, text string) { if !ok { a.cmdWindow.err("unknown command: /" + cmd) } else { - a.cmdWindow.buf.Add(hm) + a.cmdWindow.Buffer().Add(hm) } case "quit": a.quit = true |
