diff options
author | C. McEnroe | 2020-02-06 04:19:56 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-06 04:19:56 -0500 |
commit | e9394bfff9dff32b98890b89ecdc884ffb4cba79 (patch) | |
tree | 6c00820982a1e0ef492a2230f500bc2a75b3b476 /chat.h | |
parent | 32ec697092a8d9b4925e64519643c9005f2d408c (diff) |
Set id color to Default on allocation
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chat.h b/chat.h index 112530d..8279d1b 100644 --- a/chat.h +++ b/chat.h @@ -51,6 +51,7 @@ static inline size_t idFor(const char *name) { if (id) return id; idNames[idNext] = strdup(name); if (!idNames[idNext]) err(EX_OSERR, "strdup"); + idColors[idNext] = Default; return idNext++; } |