- if (exists $user->{subscriptions} &&
- length $user->{subscriptions} &&
- exists $user->{email} &&
- length $user->{email} &&
- grep { globmatch($_, $user->{subscriptions}) } @_) {
- push @ret, $user->{email};
+ next if $user eq $committer;
+ if (exists $userinfo->{$user}->{subscriptions} &&
+ length $userinfo->{$user}->{subscriptions} &&
+ exists $userinfo->{$user}->{email} &&
+ length $userinfo->{$user}->{email} &&
+ grep { globlist_match($_, $userinfo->{$user}->{subscriptions}) } @pages) {
+ push @ret, $userinfo->{$user}->{email};