aboutsummaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 78a5f66..6bceb2e 100644
--- a/degesch.c
+++ b/degesch.c
@@ -2392,7 +2392,7 @@ static void
formatter_parse_nick (struct formatter *self, char *s)
{
char *nick = irc_cut_nickname (s);
- int color = str_map_hash (nick, strlen (nick)) % 8;
+ int color = siphash_wrapper (nick, strlen (nick)) % 8;
// We always use the default color for ourselves
if (self->s && irc_is_this_us (self->s, nick))