From ea93c9a6d98904c2334f86358a261cc6e556bdf4 Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Tue, 4 Feb 2020 20:27:18 -0500 Subject: Set self.color --- handle.c | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit 1.4.1-2-gfad0