Refresh prompt on 001 with different nick
parent
e7bfdb2376
commit
2cb82d4cfd
1
handle.c
1
handle.c
|
@ -137,6 +137,7 @@ static void handleReplyWelcome(char *prefix, char *params) {
|
||||||
free(self.nick);
|
free(self.nick);
|
||||||
self.nick = strdup(nick);
|
self.nick = strdup(nick);
|
||||||
if (!self.nick) err(EX_OSERR, "strdup");
|
if (!self.nick) err(EX_OSERR, "strdup");
|
||||||
|
uiPrompt(true);
|
||||||
}
|
}
|
||||||
if (self.join && self.keys) {
|
if (self.join && self.keys) {
|
||||||
ircFmt("JOIN %s %s\r\n", self.join, self.keys);
|
ircFmt("JOIN %s %s\r\n", self.join, self.keys);
|
||||||
|
|
Loading…
Reference in New Issue