switch to > n (currently 10) cycle loop protection since eg tumov's include
[ikiwiki.git] / IkiWiki / UserInfo.pm
index 9a165dad17be8ae59049026f47a0fd2cb3a8ac34..a944cafa6791e84a1ec9fb35a39761776dceda91 100644 (file)
@@ -3,6 +3,7 @@
 use warnings;
 use strict;
 use Storable;
+use IkiWiki;
 
 package IkiWiki;
 
@@ -82,7 +83,7 @@ sub commit_notify_list ($@) { #{{{
                    length $userinfo->{$user}->{subscriptions} &&
                    exists $userinfo->{$user}->{email} &&
                    length $userinfo->{$user}->{email} &&
-                   grep { globlist_match($_, $userinfo->{$user}->{subscriptions}) } @pages) {
+                   grep { pagespec_match($_, $userinfo->{$user}->{subscriptions}) } @pages) {
                        push @ret, $userinfo->{$user}->{email};
                }
        }