summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-06-03 21:52:32 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-06-03 21:53:20 +0200
commitf6da19d5b01b1dd33eb88406eef4636b0b088afb (patch)
treed0831403c9c16f8670046acc95eade885e1ada24
parentf53d1adba8e067786fac203f6f402ef1022b1092 (diff)
downloadxK-f6da19d5b01b1dd33eb88406eef4636b0b088afb.tar.gz
xK-f6da19d5b01b1dd33eb88406eef4636b0b088afb.tar.xz
xK-f6da19d5b01b1dd33eb88406eef4636b0b088afb.zip
degesch: fix processing RPL_NAMREPLY
-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)
{