about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-26 19:27:50 -0400
committerJune McEnroe <june@causal.agency>2019-10-26 19:27:50 -0400
commit2cb82d4cfd6bacdeb72db68ef3eb1f723133c58c (patch)
tree314df3297396e512d6c94a0304a5d5f368444a20
parentAdd C-u and move underline to C-_ (diff)
downloadcatgirl-2cb82d4cfd6bacdeb72db68ef3eb1f723133c58c.tar.gz
catgirl-2cb82d4cfd6bacdeb72db68ef3eb1f723133c58c.zip
Refresh prompt on 001 with different nick
Diffstat (limited to '')
-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);