hirc

IRC client
Log | Files | Refs

commit 8218d3b77644c6c2e9ed3df2ac71e21cbc80fd15
parent 08bcbb6c1bde6f7206c4b9354fe64f226ce1067c
Author: hhvn <dev@hhvn.uk>
Date:   Mon, 11 Apr 2022 16:05:48 +0100

Only display SELF_IGNORES_ADDED when run by user

Diffstat:
Msrc/commands.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/commands.c b/src/commands.c @@ -1981,7 +1981,8 @@ idlarge: ign->regopt = regopt; ign->server = serv ? strdup(server->name) : NULL; - hist_format(selected.history, Activity_none, HIST_UI, "SELF_IGNORES_ADDED %s %s :%s", serv ? server->name : "ANY", format ? format : "ANY", str); + if (!nouich) + hist_format(selected.history, Activity_none, HIST_UI, "SELF_IGNORES_ADDED %s %s :%s", serv ? server->name : "ANY", format ? format : "ANY", str); if (!ignores) { ignores = ign;