diff --git a/modules/comment.module b/modules/comment.module
index 387d29ae4885043ee1a9eaf931c75a1b5f0c4edc..6bd67757ce341d4232ffc4925bb444cb03f1c969 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -767,7 +767,7 @@ function comment_links($comment, $return = 1) {
   }
 
   if (node_comment_mode($comment->nid) == COMMENT_NODE_READ_WRITE) {
-    if (user_access('administer comments') && user_access('access administration pages')) {
+    if (user_access('administer comments') && user_access('post comments')) {
       $links[] = l(t('delete'), "comment/delete/$comment->cid");
       $links[] = l(t('edit'), "comment/edit/$comment->cid");
       $links[] = l(t('reply'), "comment/reply/$comment->nid/$comment->cid");
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 387d29ae4885043ee1a9eaf931c75a1b5f0c4edc..6bd67757ce341d4232ffc4925bb444cb03f1c969 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -767,7 +767,7 @@ function comment_links($comment, $return = 1) {
   }
 
   if (node_comment_mode($comment->nid) == COMMENT_NODE_READ_WRITE) {
-    if (user_access('administer comments') && user_access('access administration pages')) {
+    if (user_access('administer comments') && user_access('post comments')) {
       $links[] = l(t('delete'), "comment/delete/$comment->cid");
       $links[] = l(t('edit'), "comment/edit/$comment->cid");
       $links[] = l(t('reply'), "comment/reply/$comment->nid/$comment->cid");