Here's the current code, alerts from ignored members still come through. What should I add to stop that?
Thanks
Code:
if (XenForo_Model_Alert::userReceivesAlert(array('user_id' => $this->get('receiver_user_id')), 'reputation', 'post'))
{
XenForo_Model_Alert::alert($this->get('receiver_user_id'),
$this->get('giver_user_id'),
$this->get('giver_username'),
'reputation',
$this->get('post_id'),
'post', array('points' => $this->get('points'),
'comment' => $this->get('comment'))
);
}
Thanks