diff options
author | Timo Sirainen <cras@irssi.org> | 2001-09-13 13:08:25 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-09-13 13:08:25 +0000 |
commit | 2655c1ffe01f926443f019f399c71678b3ed5e7e (patch) | |
tree | defe71570a423d6a9f5edefd8e774602caeb3326 /src | |
parent | 8e6f7438934c74aa3b5d4d6dbb7f28e714269524 (diff) | |
download | irssi-2655c1ffe01f926443f019f399c71678b3ed5e7e.zip |
..the same fix..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1797 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/irc/core/irc-nicklist.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/irc/core/irc-nicklist.c b/src/irc/core/irc-nicklist.c index 75bc17c2..ae87edcf 100644 --- a/src/irc/core/irc-nicklist.c +++ b/src/irc/core/irc-nicklist.c @@ -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; |