degesch: fix processing RPL_NAMREPLY
This commit is contained in:
parent
f53d1adba8
commit
f6da19d5b0
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue