summaryrefslogtreecommitdiff
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 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)
{