Rename query ID on nick change
parent
7783d89448
commit
7c171b8aff
3
handle.c
3
handle.c
|
@ -306,6 +306,9 @@ static void handleNick(struct Message *msg) {
|
||||||
}
|
}
|
||||||
size_t id;
|
size_t id;
|
||||||
while (None != (id = completeID(msg->nick))) {
|
while (None != (id = completeID(msg->nick))) {
|
||||||
|
if (!strcmp(idNames[id], msg->nick)) {
|
||||||
|
set(&idNames[id], msg->params[0]);
|
||||||
|
}
|
||||||
uiFormat(
|
uiFormat(
|
||||||
id, Cold, tagTime(msg),
|
id, Cold, tagTime(msg),
|
||||||
"\3%02d%s\3\tis now known as \3%02d%s\3",
|
"\3%02d%s\3\tis now known as \3%02d%s\3",
|
||||||
|
|
Loading…
Reference in New Issue