degesch: fix processing RPL_NAMREPLY

This commit is contained in:
Přemysl Eric Janouch 2015-06-03 21:52:32 +02:00
parent f53d1adba8
commit f6da19d5b0

View File

@ -4477,7 +4477,7 @@ irc_process_names (struct server *s, struct channel *channel)
for (size_t i = 0; i < updates->len; i++) for (size_t i = 0; i < updates->len; i++)
{ {
const char *item = updates->vector[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); struct channel_user *channel_user = str_map_find (&map, nick);
if (!channel_user) if (!channel_user)
{ {