Add feedback_thanks to the list of reserved names

master
Daniel Berteaud 11 years ago
parent b3fb7cb453
commit 2fdda24bd3
  1. 2
      public/vroom.pl

@ -344,7 +344,7 @@ helper valid_room_name => sub {
my ($name) = @_; my ($name) = @_;
my $ret = undef; my $ret = undef;
# A few names are reserved # A few names are reserved
my @reserved = qw(about help feedback goodbye admin create localize action missing dies password kicked invitation); my @reserved = qw(about help feedback feedback_thanks goodbye admin create localize action missing dies password kicked invitation);
if ($name =~ m/^[\w\-]{1,49}$/ && !grep { $name eq $_ } @reserved){ if ($name =~ m/^[\w\-]{1,49}$/ && !grep { $name eq $_ } @reserved){
$ret = 1; $ret = 1;
} }

Loading…
Cancel
Save