]> diplodocus.org Git - minc/commitdiff
Move the declaration of the hooks lists near the @FILTERS declaration.
authorepg <>
Fri, 2 Sep 2005 22:44:51 +0000 (22:44 +0000)
committerepg <>
Fri, 2 Sep 2005 22:44:51 +0000 (22:44 +0000)
minc

diff --git a/minc b/minc
index f8d976e..6837e19 100755 (executable)
--- a/minc
+++ b/minc
@@ -183,6 +183,7 @@ marked unseen.
 =cut
 
 our @FILTERS;
+our (@start_hooks, @stop_hooks, @filter_hooks, @post_store_hooks);
 
 my $mh;
 my $logfile;
@@ -549,7 +550,6 @@ sub filter_mail {
         require "$HOME/.minc";
     }
 
-    our (@start_hooks, @stop_hooks, @filter_hooks, @post_store_hooks);
     my %batons;
     for my $hook (@start_hooks) {
         my ($handle, @baton) = $hook->();