Made so IsFriend actually works as it should.

Signed-off-by: Oskar <oskar.warme@gmail.com>