about summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--chat.h1
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++;
 }