Set self.color

weechat-hashes
C. McEnroe 2020-02-04 20:27:18 -05:00
parent 9944dc484b
commit ea93c9a6d9
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}