Index: modules/comment.module =================================================================== RCS file: /cvs/drupal/drupal/modules/comment.module,v retrieving revision 1.277 diff -u -F^f -r1.277 comment.module --- modules/comment.module 22 Aug 2004 17:03:41 -0000 1.277 +++ modules/comment.module 28 Aug 2004 19:36:47 -0000 @@ -693,6 +693,8 @@ function comment_post($edit) { } else { watchdog('error', t('Comment: unauthorized comment submitted or comment submitted to a closed node %subject.', array('%subject' => ''. $edit['subject'] .''))); + drupal_set_message(t('Comments on this content are not allowed.'), 'error'); + drupal_goto('node/'. $edit['nid']); } }