First thanks for a great module. I'm a new user.

The problem I encounter is that antispam changes $comment->name when uid==0. This breaks Drupal for Facebook, which can use the comment->name field to store a facebook user's name.

I don't think the code to change the comment name is necessary at all. If it is, I suggest the if clause be

if ($comment->uid == 0 && !$comment->name)...

rather than just if ($comment->uid)...

CommentFileSizeAuthor
spam_comment_name.diff370 bytesDave Cohen

Comments

tim.plunkett’s picture

Status: Needs review » Closed (duplicate)
Issue tags: -fb