Rename query ID on nick change

weechat-hashes
C. McEnroe 2020-02-11 18:23:04 -05:00
parent 7783d89448
commit 7c171b8aff
1 changed files with 3 additions and 0 deletions

View File

@ -306,6 +306,9 @@ static void handleNick(struct Message *msg) {
}
size_t id;
while (None != (id = completeID(msg->nick))) {
if (!strcmp(idNames[id], msg->nick)) {
set(&idNames[id], msg->params[0]);
}
uiFormat(
id, Cold, tagTime(msg),
"\3%02d%s\3\tis now known as \3%02d%s\3",