Skip Menu |

This queue is for tickets about the Bot-BasicBot-Pluggable CPAN distribution.

Report information
The Basics
Id: 74575
Status: resolved
Priority: 0/
Queue: Bot-BasicBot-Pluggable

People
Owner: Nobody in particular
Requestors: bacek [...] bacek.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Bot::BasicBot::Pluggable::Module::Seen incorrectly reports seen for non existed users.
In the nutshell: Show quoted text
benabik> seen unlikelyIRCnickname
Show quoted text
aloha> unlikelyIRCnickname was last seen in 15370 days 18 hours ago .
This is due perl hashes autovivification in line my $hidden_channel = exists $ignore_channels->{ $seen->{channel} }; so check on next line "if (... !$seen ...)" evaluated to true. Fix is simple - replace "!$seen" with "!$seen->{time}" in condition.
This is a hilariously belated reply, but it would seem this problem was fixed at some point along the way, I can't reproduce it now - cleaning up some outstanding tickets in RT.