diff --git a/lib/Lacuna/Web/EntertainmentVote.pm b/lib/Lacuna/Web/EntertainmentVote.pm index 21c6681f..6e39126e 100644 --- a/lib/Lacuna/Web/EntertainmentVote.pm +++ b/lib/Lacuna/Web/EntertainmentVote.pm @@ -16,6 +16,9 @@ sub www_default { unless (defined $empire) { confess [401, 'Empire not found.']; } + if ($empire->current_session->is_sitter) { + confess [1015, 'Sitters cannot enter the lottery.']; + } my $url = $request->param('site_url'); unless (defined $url) { confess [417, 'You need to specify a site.'];