hirc

IRC client
Log | Files | Refs

commit f999806762a83daf59fa1f009e4c032a3aa809c8
parent 51d6c520b6f00e2f1015ed6b70278a80bc389cbd
Author: hhvn <dev@hhvn.uk>
Date:   Thu,  9 Dec 2021 00:43:04 +0000

commands.c: all HIST_GREP should also be HIST_TMP

Diffstat:
Mcommands.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands.c b/commands.c @@ -695,7 +695,7 @@ command_grep(struct Server *server, char *str) { /* TODO: matching ui_format result by default, * option for matching raw */ if (regexec(&re, p->raw, 0, NULL, 0) == 0) - hist_add(selected.history, p->from, p->raw, p->params, p->activity, p->timestamp, p->options | HIST_GREP); + hist_add(selected.history, p->from, p->raw, p->params, p->activity, p->timestamp, p->options | HIST_GREP | HIST_TMP); } hist_format(selected.history, Activity_none, HIST_SHOW|HIST_TMP|HIST_GREP, "SELF_GREP_END :end of /grep command");