summary refs log tree commit diff
path: root/handle.c
diff options
context:
space:
mode:
authorCurtis McEnroe2019-10-26 19:27:50 -0400
committerCurtis McEnroe2019-10-26 19:27:50 -0400
commit2cb82d4cfd6bacdeb72db68ef3eb1f723133c58c (patch)
tree314df3297396e512d6c94a0304a5d5f368444a20 /handle.c
parente7bfdb237612072506938d5ae7578f7c1fd4cbff (diff)
Refresh prompt on 001 with different nick
Diffstat (limited to 'handle.c')
-rw-r--r--handle.c1
1 files changed, 1 insertions, 0 deletions
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);