Refactoring duel invitations
Compilation fix