summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--handle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/handle.c b/handle.c
index 48d4344..4e498e9 100644
--- a/handle.c
+++ b/handle.c
@@ -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",