From 3e2a9c20569478e9f50a86c20fb7e7ec245c9d01 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 14 Sep 2018 23:37:09 -0400 Subject: Factor out uiPrompt to call on nick change --- handle.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'handle.c') diff --git a/handle.c b/handle.c index 938315b..05e94e4 100644 --- a/handle.c +++ b/handle.c @@ -315,7 +315,10 @@ static void handleNick(char *prefix, char *params) { char *prev, *user, *next; shift(prefix, &prev, &user, NULL, params, 1, 0, &next); - if (isSelf(prev, user)) selfNick(next); + if (isSelf(prev, user)) { + selfNick(next); + uiPrompt(); + } struct Tag tag; while (TagNone.id != (tag = tabTag(prev)).id) { -- cgit 1.4.1-2-gfad0