summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--handle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/handle.c b/handle.c
index 29d1500..305d70d 100644
--- a/handle.c
+++ b/handle.c
@@ -184,6 +184,7 @@ static void handleJoin(struct Message *msg) {
 	require(msg, true, 1);
 	size_t id = idFor(msg->params[0]);
 	if (self.nick && !strcmp(msg->nick, self.nick)) {
+		self.color = hash(msg->user);
 		idColors[id] = hash(msg->params[0]);
 		uiShowID(id);
 	}