diff options
Diffstat (limited to '')
-rw-r--r-- | chat.h | 1 |
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) { |