Don’t send notification if author comments his own post plugin help?

Not tested, but from quick look something like this should work:

$comment = get_comment($commentID);
$post = get_post($comment->comment_post_ID);
$user = get_userdata($post->post_author);

if( $comment->user_id == $post->post_author )
    return;

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)