Index: nodecomment.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/nodecomment/nodecomment.module,v
retrieving revision 1.3.2.1
diff -u -r1.3.2.1 nodecomment.module
--- nodecomment.module	6 Mar 2007 05:55:26 -0000	1.3.2.1
+++ nodecomment.module	11 Jul 2007 22:59:34 -0000
@@ -633,7 +633,9 @@
       // There is likely a cleaner way to do this, but for now it will have to do. -- JE
       $comment_type = variable_get('comment_type_'. $node->type, variable_get('default_comment_type', ''));
       $friendly_name = node_get_types('name', $comment_type);
-      $output .= nodecomment_form_box($node, t('Post new !type', array('!type' => $friendly_name)));
+      if (user_access('create '. $comment_type .' content')) {
+        $output .= nodecomment_form_box($node, t('Post new !type', array('!type' => $friendly_name)));
+      }
     }
 
     if ($output) {
