summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'chat.h')
-rw-r--r--chat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chat.h b/chat.h
index 6a21930..8249564 100644
--- a/chat.h
+++ b/chat.h
@@ -139,6 +139,7 @@ static inline uint idFor(const char *name) {
 extern uint32_t hashInit;
 extern uint32_t hashBound;
 static inline enum Color hash(const char *str) {
+	if (hashBound < Blue) return Default;
 	if (*str == '~') str++;
 	uint32_t hash = hashInit;
 	for (; *str; ++str) {