From f6da19d5b01b1dd33eb88406eef4636b0b088afb Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Wed, 3 Jun 2015 21:52:32 +0200
Subject: degesch: fix processing RPL_NAMREPLY
---
degesch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/degesch.c b/degesch.c
index 0e1c8e4..5c90ddf 100644
--- a/degesch.c
+++ b/degesch.c
@@ -4477,7 +4477,7 @@ irc_process_names (struct server *s, struct channel *channel)
for (size_t i = 0; i < updates->len; i++)
{
const char *item = updates->vector[i];
- const char *nick = item + strspn (item, s->irc_chanuser_modes);
+ const char *nick = item + strspn (item, s->irc_chanuser_prefixes);
struct channel_user *channel_user = str_map_find (&map, nick);
if (!channel_user)
{
--
cgit v1.2.3-70-g09d2