add multiple auth methods and www_ methods

This commit is contained in:
Doug Bell 2010-06-22 12:16:59 -04:00
parent b7ba9f2118
commit 68b2c406f7
2 changed files with 19 additions and 5 deletions

View file

@ -809,7 +809,9 @@ Returns whether or not a method is callable
sub isCallable {
my $self = shift;
return isIn($_[0],@{$self->{callable}})
return 1 if isIn($_[0],@{$self->{callable}});
return 1 if $self->can( 'www_' . $_[0] );
return 0;
}
#-------------------------------------------------------------------