Correct logic error when approving non-member comments

I was using '=' instead of '==' or '===' when checking the comment status, and
as a result, all comments were being sent to the activity stream when posted by
non-members and then spammed.

See #787

Reapplied to address #943.