Index: modules/comment/comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.596
diff -u -r1.596 comment.module
--- modules/comment/comment.module	25 Oct 2007 10:28:05 -0000	1.596
+++ modules/comment/comment.module	27 Oct 2007 13:29:00 -0000
@@ -1682,6 +1682,9 @@
       $comment->uid = $account->uid;
       $comment->name = check_plain($account->name);
     }
+    elseif (!empty($comment->name)) {
+      $comment->registered_name = $comment->name;
+    }
     else {
       $comment->name = variable_get('anonymous', t('Anonymous'));
     }
