From 5c241c1e999edfae0295fc7eafb41c3244f9f8aa Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Thu, 22 Jan 2015 15:21:51 +0100 Subject: [PATCH] Fix room ping --- vroom.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vroom.pl b/vroom.pl index c482dcb..5dacc6c 100755 --- a/vroom.pl +++ b/vroom.pl @@ -1331,7 +1331,7 @@ any '/api' => sub { } # Handle activity pings sent every minute by each participant elsif ($req->{action} eq 'ping'){ - $self->ping_room($room); + $self->ping_room($room->{name}); # Cleanup expired rooms every ~10 pings if ((int (rand 100)) <= 10){ $self->purge_rooms;