--- modr8.module.orig 2009-02-17 19:51:16.000000000 -0500 +++ modr8.module 2009-02-17 19:53:15.000000000 -0500 @@ -346,3 +346,17 @@ } $already_messaged = TRUE; } + +/** + * Implementation of hook_notifications(). + */ +function modr8_notifications($op, &$arg0, $arg1 = NULL, $arg2 = NULL) { + switch ($op) { + case 'access': + $object = &$arg2; + // Don't send notifications on moderated content. + if(property_exists($object,'objects') && property_exists($object->objects['node'],'moderate') && $object->objects['node']->moderate == 1) { + return array(FALSE); + } + } +}