hirc

IRC client
Log | Files | Refs

commit 5cbdfebb44e812d137c624a53d1d09fdbb506bc3
parent 97b70012e75cb7c6d396bdb0e44b3ab5f275265c
Author: hhvn <dev@hhvn.uk>
Date:   Sun, 27 Mar 2022 11:42:18 +0100

Only show nick changes in the server buffer if done by self.

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

diff --git a/src/handle.c b/src/handle.c @@ -494,7 +494,7 @@ handle_NICK) { return; nick = msg->from; - hist_addp(server->history, msg, Activity_status, HIST_DFL); + hist_addp(server->history, msg, Activity_status, msg->from->self ? HIST_DFL : HIST_LOG); newnick = *(msg->params+1); if (strcmp_n(nick->nick, newnick) == 0)