Add friend hotfix

simplified code
Merge pull request #4 from favorspin/addfriendhotfix

Add friend hotfix