diff options
author | Curtis McEnroe | 2018-09-14 23:37:09 -0400 |
---|---|---|
committer | Curtis McEnroe | 2018-09-14 23:37:09 -0400 |
commit | 3e2a9c20569478e9f50a86c20fb7e7ec245c9d01 (patch) | |
tree | 061215de0e1a0ee04d33c385347d2b7fca37e031 /handle.c | |
parent | 835d3a452a3f0774befc818aa08a6446829c0644 (diff) |
Factor out uiPrompt to call on nick change
Diffstat (limited to 'handle.c')
-rw-r--r-- | handle.c | 5 |
1 files changed, 4 insertions, 1 deletions
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) { |