--- ./ajax_comments_old.module	2009-08-25 18:30:40.000000000 -0500
+++ ./ajax_comments.module	2010-01-17 22:32:11.000000000 -0600
@@ -281,7 +281,14 @@ function ajax_comments_submit($form, &$f
       $result = db_query($query, $query_args);
 
       if ($comment = db_fetch_object($result)) {
-        $comment->name = $comment->uid ? $comment->registered_name : $comment->name;
+        if ($comment->uid) {
+          $cuser = user_load($comment->uid);
+          $comment->name = strip_tags(theme('username', $cuser));
+        }
+        else {
+          $comment->name = $comment->name;
+        }
+        // $comment->name = $comment->uid ? $comment->registered_name : $comment->name;
         $links = module_invoke_all('link', 'comment', $comment, 0);
         drupal_alter('link', $links, $node);
 
