Fix log warning

master
Daniel Berteaud 11 years ago
parent 25f2602694
commit 065eac4be5
  1. 2
      public/vroom.pl

@ -403,7 +403,7 @@ get '/(*room)' => sub {
); );
} }
} }
if ($data->{join_password} && (!$self->session($room) || %{$self->session($room)}->{role} ne 'participant')){ if ($data->{join_password} && (!$self->session($room) || $self->session($room)->{role} ne 'participant')){
my $url = $self->url_for('/'); my $url = $self->url_for('/');
$url .= ($url =~ m/\/$/) ? '' : '/'; $url .= ($url =~ m/\/$/) ? '' : '/';
return $self->redirect_to($url . 'password/' . $room); return $self->redirect_to($url . 'password/' . $room);

Loading…
Cancel
Save