}
if ($firsttime) {
- &DEBUG("on_EOM: calling sS in 60s.");
$conn->schedule(60, \&setupSchedulers, "");
$firsttime = 0;
}
$chanstats{$chan}{'Join'}++;
$userstats{lc $who}{'Join'} = time() if (&IsParam("seenStats"));
+ &joinfloodCheck($who, $chan, $event->userhost);
+
# netjoin detection.
my $netsplit = 0;
if (exists $netsplit{lc $who}) {
&status(">>> kick/$b_blue$chan$ob [$b$kickee!$uh$ob] by $b_cyan$kicker$ob $b_yellow($ob$reason$b_yellow)$ob");
+ $chan = lc $chan; # forgot about this, found by xsdg, 20001229.
$chanstats{$chan}{'Kick'}++;
if ($kickee eq $ident) {
my $nick = $event->nick;
my $userhost = $event->userhost;
+ if (!exists $floodjoin{$chan}{$nick}{Time}) {
+ &WARN("on_part: $nick/$chan not in floodjoin hash?");
+ } else {
+ delete $floodjoin{$chan}{$nick};
+ }
+
$chanstats{$chan}{'Part'}++;
&DeleteUserInfo($nick,$chan);
&clearChanVars($chan) if ($nick eq $ident);