--- auto_expire.module.orig	2008-04-15 10:30:23.000000000 +0930
+++ auto_expire.module	2008-04-15 10:31:12.000000000 +0930
@@ -261,6 +261,8 @@
           db_query('UPDATE {auto_expire} SET warned = 1 WHERE nid = %d', $node->nid);
           
           watchdog('auto_expire', 'Auto expire warning for node ' . $node->nid, WATCHDOG_NOTICE);
+
+          module_invoke_all('auto_expire_warn', $node);
         }
       }
       
@@ -276,6 +278,8 @@
         _auto_expire_notify_expired($node->nid, $node->title, $name->type, $subject, $body);
         
         watchdog('auto_expire', 'Unpublishing node ' . $node->nid, WATCHDOG_NOTICE);
+
+        module_invoke_all('auto_expire_expire', $node);
       }
       
       // Purge
