diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-10 00:25:18 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-10 00:25:18 -0400 |
| commit | 5b6c3a631c6751198c1cbf680476da543cbf6413 (patch) | |
| tree | 4a8c176455aabf2bd0a887bd40b8ac28a4df0f35 /src/irc.c | |
| parent | 2f21821ae83c9ddaa464c8a1b06be3c4a0a81020 (diff) | |
| download | fujinet-chat-5b6c3a631c6751198c1cbf680476da543cbf6413.tar.gz | |
rejoin screen channels on reconnect.
Diffstat (limited to 'src/irc.c')
| -rw-r--r-- | src/irc.c | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -389,15 +389,19 @@ static void do_numeric(void) { /* don't print these, just noise */ case RPL_MOTDSTART: + break; + + /* don't print, but do trigger rejoin */ case RPL_ENDOFMOTD: case ERR_NOMOTD: + cmd_rejoin_chans(); break; case RPL_NAMREPLY: scr_print_active(msg_args[2]); scr_print_active(" users: "); scr_print_active(msg_text); - scr_print_active("\n"); + scr_eol_active(); break; case RPL_ENDOFNAMES: @@ -409,13 +413,13 @@ static void do_numeric(void) { scr_print_active(msg_args[1]); scr_print_active(": "); scr_print_active(msg_text); - scr_print_active("\n"); + scr_eol_active(); break; case RPL_TOPICWHOTIME: scr_print_active("Topic set by "); scr_print_active(msg_args[2]); - scr_print_active("\n"); + scr_eol_active(); break; default: |
