summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/nicklist.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}