Index: fivestar_comment.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/fivestar/Attic/fivestar_comment.module,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 fivestar_comment.module
--- fivestar_comment.module	30 Jun 2008 03:40:15 -0000	1.1.2.1
+++ fivestar_comment.module	6 Sep 2008 00:20:11 -0000
@@ -41,7 +41,7 @@
   }
 
   // Comment form. Do not allow ratings inside of threads.
-  if ($form_id == 'comment_form' && empty($form['pid']['#value'])) {
+  if ($form_id == 'comment_form' && empty($form['pid']['#value']) && user_access('rate content')) {
     $node = node_load($form['nid']['#value']);
     if (variable_get('fivestar_comment_'. $node->type, FIVESTAR_COMMENT_DISABLED)) {
       // Splice in the fivestar right before the body.
