diff options
author | June McEnroe <june@causal.agency> | 2019-10-26 19:27:50 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-26 19:27:50 -0400 |
commit | 2cb82d4cfd6bacdeb72db68ef3eb1f723133c58c (patch) | |
tree | 314df3297396e512d6c94a0304a5d5f368444a20 /handle.c | |
parent | Add C-u and move underline to C-_ (diff) | |
download | catgirl-2cb82d4cfd6bacdeb72db68ef3eb1f723133c58c.tar.gz catgirl-2cb82d4cfd6bacdeb72db68ef3eb1f723133c58c.zip |
Refresh prompt on 001 with different nick
Diffstat (limited to '')
-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); |