Support for multiple identical nicknames.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1241 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-18 22:46:25 +00:00 committed by cras
commit 6a469c46bb
4 changed files with 173 additions and 8 deletions

View file

@ -123,7 +123,8 @@ static void event_end_of_names(SERVER_REC *server, const char *data)
chanrec = channel_find(server, channel);
if (chanrec != NULL && !chanrec->names_got) {
chanrec->ownnick = nicklist_find(chanrec, server->nick);
nicklist_set_own(chanrec,
nicklist_find(chanrec, server->nick));
chanrec->chanop = chanrec->ownnick->op;
chanrec->names_got = TRUE;
signal_emit("channel joined", 1, chanrec);