--- /Users/ronan/WebServer/WebDocuments/rake/sites/default/modules/usercomment/usercomment-orig.module	2007-09-12 12:51:40.000000000 -0500
+++ /Users/ronan/WebServer/WebDocuments/rake/sites/default/modules/usercomment/usercomment.module	2007-11-05 20:25:09.000000000 -0600
@@ -17,6 +17,7 @@ function usercomment_comment(&$comment, 
         drupal_set_message (t("Your comment will be posted once it's been approved."));
         db_query("UPDATE {comments} SET status = %d WHERE cid = %d", COMMENT_NOT_PUBLISHED, $comment['cid']);
         $node = node_load($comment['nid']);
+        $node->user = $node->user ? $node->user : user_load( array( "uid" => $node->uid ) );
         if (! isset($node->user->usercomment_get_notifications) || $node->user->usercomment_get_notifications == 1) {
           $subject = variable_get('usercomment_mail_subject', t('Someone posted a new comment!'));
           $message = variable_get('usercomment_mail_message', usercomment_mail_message_default());
