1
0
mirror of https://github.com/irssi/irssi.git synced 2024-06-30 06:45:25 +00:00

Don't break if nick is twice in names list (never is with non-broken

servers).


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3047 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-12-07 20:53:50 +00:00 committed by cras
parent 0ab956f64f
commit e51f4e96fe

View File

@ -133,7 +133,10 @@ static void event_names_list(IRC_SERVER_REC *server, const char *data)
ptr++;
}
irc_nicklist_insert(chanrec, ptr, op, halfop, voice, FALSE);
if (nicklist_find((CHANNEL_REC *) chanrec, ptr) == NULL) {
irc_nicklist_insert(chanrec, ptr, op, halfop,
voice, FALSE);
}
}
g_free(params);