Index: comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.617.2.4
diff -u -r1.617.2.4 comment.module
--- comment.module	6 Jan 2009 17:34:54 -0000	1.617.2.4
+++ comment.module	14 Feb 2009 18:17:04 -0000
@@ -1735,7 +1735,9 @@
  * @ingroup themeable
  */
 function theme_comment_flat_expanded($comment, $node) {
-  return theme('comment_view', $comment, $node, module_invoke_all('link', 'comment', $comment, 0));
+  $links = module_invoke_all('link', 'comment', $comment, 0);
+  drupal_alter('link', $links, $comment);
+  return theme('comment_view', $comment, $node, $links);
 }
 
 /**
@@ -1761,7 +1763,9 @@
  * @ingroup themeable
  */
 function theme_comment_thread_expanded($comment, $node) {
-  return theme('comment_view', $comment, $node, module_invoke_all('link', 'comment', $comment, 0));
+  $links = module_invoke_all('link', 'comment', $comment, 0);
+  drupal_alter('link', $links, $comment);
+  return theme('comment_view', $comment, $node, $links);
 }
 
 /**

