Feature refuse invites for nonplayers

Code from Paul's pair coding review.