jcs
/wallops
/amendments
/37
irc: Update titlebar after we change to nick_
jcs made amendment 37 over 2 years ago
--- irc.c Tue Sep 6 13:18:57 2022
+++ irc.c Tue Sep 6 16:32:59 2022
@@ -701,6 +701,8 @@ irc_process_server(struct chatter *chatter)
sprintf(new_nick, "%s_", chatter->irc_nick);
xfree(&chatter->irc_nick);
chatter->irc_nick = new_nick;
+ chatter_update_titlebar(chatter);
+
len = snprintf(chatter->irc_line, sizeof(chatter->irc_line),
"NICK %s\r\n", chatter->irc_nick);
irc_send(chatter, chatter->irc_line, len);