From 2cb82d4cfd6bacdeb72db68ef3eb1f723133c58c Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 26 Oct 2019 19:27:50 -0400 Subject: Refresh prompt on 001 with different nick --- handle.c | 1 + 1 file changed, 1 insertion(+) (limited to 'handle.c') diff --git a/handle.c b/handle.c index fef6ee5..fe15d9a 100644 --- a/handle.c +++ b/handle.c @@ -137,6 +137,7 @@ static void handleReplyWelcome(char *prefix, char *params) { free(self.nick); self.nick = strdup(nick); if (!self.nick) err(EX_OSERR, "strdup"); + uiPrompt(true); } if (self.join && self.keys) { ircFmt("JOIN %s %s\r\n", self.join, self.keys); -- cgit 1.4.1-2-gfad0