1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

..the same fix..

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1797 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-09-13 13:08:25 +00:00 committed by cras
parent 8e6f743893
commit 2655c1ffe0

View File

@ -130,8 +130,9 @@ static void event_end_of_names(IRC_SERVER_REC *server, const char *data)
/* stupid server - assume we have ops
if channel is empty */
nicks = g_hash_table_size(chanrec->nicks);
irc_nicklist_insert(chanrec, server->nick,
nicks == 0, FALSE, FALSE);
ownnick = irc_nicklist_insert(chanrec, server->nick,
nicks == 0, FALSE,
FALSE);
}
nicklist_set_own(CHANNEL(chanrec), ownnick);
chanrec->chanop = chanrec->ownnick->op;