aboutsummaryrefslogtreecommitdiff
path: root/src/irc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc.c')
-rw-r--r--src/irc.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/irc.c b/src/irc.c
index 444f863..ddfd14c 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -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: