my $serv = $channel->{server}->{address};
for my $nick ( $channel->nicks() ) {
debugPrint( "info", Dumper $nick );
add_record( $nick->{nick}, ( split( '@', $nick->{host} ) ), $serv );
}
}
I've found that ->{host} is not set on a channel with approximately 1438 nicknames. I've confirmed that the numerics are being sent, and have found no anomalies outside of the difference in nicknames in the channel.
This was found in #ubuntu on irc.freenode.org.
Please let me know if this is intentional and at what number nicknames lack this information, so that I may add a safe-guard to the script to prevent corrupted records from being added.
This is deliberate, see /set channel_max_who_sync. Requesting very large /who listings may cause sendq exceeded, but you can allow it if it works for you.
With regard to irssi 0.8.12 and 0.8.15 when doing the following in stalker.pl:
Irssi::signal_add( 'channel sync', \&channel_sync );
sub channelsync { my ( $channel ) = @;
}
I've found that ->{host} is not set on a channel with approximately 1438 nicknames. I've confirmed that the numerics are being sent, and have found no anomalies outside of the difference in nicknames in the channel.
This was found in #ubuntu on irc.freenode.org.
Please let me know if this is intentional and at what number nicknames lack this information, so that I may add a safe-guard to the script to prevent corrupted records from being added.