implement forgetfulness more properly here too

This commit is contained in:
Rudolf Polzer 2011-09-27 11:14:19 +02:00
parent 92972e6be4
commit 04d72aedb2

View File

@ -473,7 +473,7 @@ sub busybot_note_on_bot($$$$$$$)
}
++$bot->{seen}{$k0}{$k1};
if($bot->{lastuse} && $channel == $bot->{lastchannel})
if(($bot->{lastuse} // -666) >= $time - $time_forgetfulness && $channel == $bot->{lastchannel})
{
$bot->{lastchannelsequence} += 1;
}