--- trunk/Nos.pm 2005/05/16 21:54:41 30 +++ trunk/Nos.pm 2005/05/16 22:04:40 31 @@ -340,9 +340,9 @@ my $name = shift || return; - my $lists = $self->{'loader'}->find_class('lists'); + my $lists = $self->{'loader'}->find_class('lists') || confess "can't find lists class"; - return $lists->search({ name => $name }); + return $lists->search({ name => $name })->first; }