mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
0ab956f64f
commit
e51f4e96fe
@ -133,7 +133,10 @@ static void event_names_list(IRC_SERVER_REC *server, const char *data)
|
|||||||
ptr++;
|
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);
|
g_free(params);
|
||||||
|
Loading…
Reference in New Issue
Block a user