diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-25 00:38:44 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-25 00:38:44 -0400 |
| commit | 8f19c016edd9f258c1b39eb44647c685b245f2fc (patch) | |
| tree | 3f05e85e80999df84d4ec0011f2f66065eab3936 /src | |
| parent | 04b16deae6ea4419c2f87cab4adefcbf40f71532 (diff) | |
| download | fujinet-chat-8f19c016edd9f258c1b39eb44647c685b245f2fc.tar.gz | |
Show N for notices, not M.
Diffstat (limited to 'src')
| -rw-r--r-- | src/indic8.h | 2 | ||||
| -rw-r--r-- | src/irc.c | 5 |
2 files changed, 6 insertions, 1 deletions
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) @@ -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); |
