diff options
author | Curtis McEnroe | 2019-10-26 19:27:50 -0400 |
---|---|---|
committer | Curtis McEnroe | 2019-10-26 19:27:50 -0400 |
commit | 2cb82d4cfd6bacdeb72db68ef3eb1f723133c58c (patch) | |
tree | 314df3297396e512d6c94a0304a5d5f368444a20 | |
parent | e7bfdb237612072506938d5ae7578f7c1fd4cbff (diff) |
Refresh prompt on 001 with different nick
-rw-r--r-- | handle.c | 1 |
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); |