--- nodecomment.module.orig	2008-05-15 23:50:46.000000000 +0400
+++ nodecomment.module	2008-06-18 18:18:40.000000000 +0400
@@ -390,6 +390,10 @@ function nodecomment_nodeapi(&$node, $op
         // It's a comment! Populate commenty stuff.
         $comment_data['comment_target_nid'] = $comment_data['nid'];
         unset($comment_data['nid']);
+        if ($comment_data['pid']) {
+          $comment_data['comment_target_cid'] = $comment_data['pid'];
+          unset($comment_data['pid']);
+        }
         return $comment_data;
       }
       else {
