diff options
author | Hubert Hirtz <hubert@hirtz.pm> | 2021-11-29 09:32:51 +0100 |
---|---|---|
committer | Hubert Hirtz <hubert@hirtz.pm> | 2021-11-29 09:32:51 +0100 |
commit | 24a84fad9bf5d53ef364d4711f6fb78e89b97a47 (patch) | |
tree | 97cd4557908458ba096588034d1b5fc6cff86a3b /commands.go | |
parent | Use RPL_SASLSUCCESS to end registration (diff) |
Fetch history for queries
Diffstat (limited to 'commands.go')
-rw-r--r-- | commands.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands.go b/commands.go index f81974f..5dff158 100644 --- a/commands.go +++ b/commands.go @@ -426,6 +426,7 @@ func commandDoQuery(app *App, args []string) (err error) { return fmt.Errorf("cannot query a channel, use JOIN instead") } i, _ := app.win.AddBuffer(netID, "", target) + s.NewHistoryRequest(target).WithLimit(200).Before(time.Now()) app.win.JumpBufferIndex(i) return nil } |