From 8f19c016edd9f258c1b39eb44647c685b245f2fc Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 25 Mar 2026 00:38:44 -0400 Subject: Show N for notices, not M. --- src/indic8.h | 2 ++ src/irc.c | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/indic8.h b/src/indic8.h index 5b29740..5524bb7 100644 --- a/src/indic8.h +++ b/src/indic8.h @@ -7,6 +7,7 @@ #define P_CHR 0x50 /* COLOR1 P */ #define Q_CHR 0x51 /* COLOR1 Q */ #define M_CHR 0x4d /* COLOR1 M */ +#define N_CHR 0x4e /* COLOR1 N */ #define CHAN_CHR 0x63 /* COLOR1 # */ void ind_act(char c); @@ -17,6 +18,7 @@ void ind_net_down(void); void ind_net_idle(void); #define ind_act_pm() ind_act(M_CHR) +#define ind_act_notice() ind_act(N_CHR) #define ind_act_chantext() ind_act(CHAN_CHR) #define ind_act_join() ind_act(J_CHR) #define ind_act_part() ind_act(P_CHR) diff --git a/src/irc.c b/src/irc.c index d0e0595..fb3b979 100644 --- a/src/irc.c +++ b/src/irc.c @@ -249,7 +249,10 @@ static void do_privmsg(void) { ind_act_chantext(); } else { do_priv_nick(); - ind_act_pm(); + if(*msg_cmd == 'N') + ind_act_notice(); + else + ind_act_pm(); } scr_print_active(msg_text); -- cgit v1.2.3