"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/irc/core/massjoin.c" between
irssi-1.2.2.tar.gz and irssi-1.2.3.tar.gz

About: irssi is a terminal based IRC client that also supports SILC and ICB protocols via plugins.

massjoin.c  (irssi-1.2.2):massjoin.c  (irssi-1.2.3)
skipping to change at line 69 skipping to change at line 69
/* check that the nick isn't already in nicklist. seems to happen /* check that the nick isn't already in nicklist. seems to happen
sometimes (server desyncs or something?) */ sometimes (server desyncs or something?) */
nickrec = nicklist_find(CHANNEL(chanrec), nick); nickrec = nicklist_find(CHANNEL(chanrec), nick);
if (nickrec != NULL) { if (nickrec != NULL) {
/* destroy the old record */ /* destroy the old record */
nicklist_remove(CHANNEL(chanrec), nickrec); nicklist_remove(CHANNEL(chanrec), nickrec);
} }
/* add user to nicklist */ /* add user to nicklist */
nickrec = irc_nicklist_insert(chanrec, nick, FALSE, FALSE, FALSE, TRUE, N ULL); nickrec = irc_nicklist_insert(chanrec, nick, FALSE, FALSE, FALSE, TRUE, N ULL);
if (nickrec == NULL) {
/* invalid nick? */
return;
}
nicklist_set_host(CHANNEL(chanrec), nickrec, address); nicklist_set_host(CHANNEL(chanrec), nickrec, address);
if (chanrec->massjoins == 0) { if (chanrec->massjoins == 0) {
/* no nicks waiting in massjoin queue */ /* no nicks waiting in massjoin queue */
chanrec->massjoin_start = time(NULL); chanrec->massjoin_start = time(NULL);
chanrec->last_massjoins = 0; chanrec->last_massjoins = 0;
} }
if (nickrec->realname == NULL) { if (nickrec->realname == NULL) {
/* Check if user is already in some other channel, /* Check if user is already in some other channel,
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)