From 065eac4be58a2beeb82ef7e32553e52308e50b6b Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 12 May 2014 22:31:00 +0200 Subject: [PATCH] Fix log warning --- public/vroom.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/vroom.pl b/public/vroom.pl index cfb729e..da2a36e 100755 --- a/public/vroom.pl +++ b/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('/'); $url .= ($url =~ m/\/$/) ? '' : '/'; return $self->redirect_to($url . 'password/' . $room);