Refresh prompt on 001 with different nick

master
Curtis McEnroe 2019-10-26 19:27:50 -04:00
parent e7bfdb2376
commit 2cb82d4cfd
No known key found for this signature in database
GPG Key ID: CEA2F97ADCFCD77C
1 changed files with 1 additions and 0 deletions

View File

@ -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);