mirror of
https://github.com/irssi/irssi.git
synced 2025-04-25 20:41:23 -05:00
Merge pull request #1292 from ailin-nemui/nonick
don't bother if we don't have a nick (cherry picked from commit e0b98e1fa57a2f9faf6616af404f630e8c7527e6)
This commit is contained in:
parent
d05e65b2f9
commit
ef4bad3600
@ -66,6 +66,11 @@ static void event_join(IRC_SERVER_REC *server, const char *data,
|
||||
|
||||
/* add user to nicklist */
|
||||
nickrec = irc_nicklist_insert(chanrec, nick, FALSE, FALSE, FALSE, TRUE, NULL);
|
||||
if (nickrec == NULL) {
|
||||
/* invalid nick? */
|
||||
return;
|
||||
}
|
||||
|
||||
nicklist_set_host(CHANNEL(chanrec), nickrec, address);
|
||||
|
||||
if (chanrec->massjoins == 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user