Index: comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment.module,v
retrieving revision 1.364
diff -u -F^f -r1.364 comment.module
--- comment.module	1 Aug 2005 05:14:05 -0000	1.364
+++ comment.module	7 Aug 2005 15:03:52 -0000
@@ -465,6 +465,8 @@ function comment_validate($edit) {
     }
   }
 
+  module_invoke_all('comment', 'validate', $edit);
+
   // Validate the comment's subject.  If not specified, extract
   // one from the comment's body.
   if (trim($edit['subject']) == '') {
@@ -1421,6 +1423,8 @@ function theme_comment_form($edit, $titl
   $form .= form_textarea(t('Comment'), 'comment', $edit['comment'] ? $edit['comment'] : $user->signature, 60, 15, '', NULL, TRUE);
 
   $form .= filter_form('format', $edit['format']);
+  // Invoke other forms
+  $form .= implode('', module_invoke_all('comment', 'form', $edit));
   $form .= form_hidden('cid', $edit['cid']);
   $form .= form_hidden('pid', $edit['pid']);
   $form .= form_hidden('nid', $edit['nid']);
