diff --git a/src/core/nicklist.c b/src/core/nicklist.c index ac6028e3..d1463d9b 100644 --- a/src/core/nicklist.c +++ b/src/core/nicklist.c @@ -451,6 +451,7 @@ static NICK_REC *nick_nfind(CHANNEL_REC *channel, const char *nick, int len) while (rec->next != NULL) { if (strcmp(rec->nick, tmpnick) == 0) break; + rec = rec->next; } }