Subject: | Bot::BasicBot::Pluggable::Module::Loader default requires auth'd user despite docs |
Date: | Sun, 18 Mar 2012 10:14:14 -0500 |
To: | bug-Bot-BasicBot-Pluggable [...] rt.cpan.org |
From: | Michael Alexander <omniminded1 [...] gmail.com> |
__SUBJECT__
Bot::BasicBot::Pluggable::Module::Loader default requires auth'd user
despite docs
__BODY__
Module: Bot::BasicBot::Pluggable::Store::DBI VERSION = '0.96'
Perl: perl 5, version 12, subversion 2 (v5.12.2 (*)) built for i386-openbsd
with 4 registered patches
Operating system: OpenBSD 4.9 GENERIC.MP#794 i386
I discovered that Bot::BasicBot::Pluggable::Module::Loader is requiring
users be auth'd by default. No good unless
Bot::BasicBot::Pluggable::Module::Auth is loaded with it. The documentation
at Bot::BasicBot::Pluggable suggests that
Bot::BasicBot::Pluggable::Module::Loader can be loaded stand alone and
suggests users immediately !load Auth. It is contradictory.
The culprit is on line 39 of Loader.pm:
return if !$self->authed( $mess->{who} );
The fix is simply commenting out line 39:
#return if !$self->authed( $mess->{who} );