From e70be95255d75610843046462779fbf8b41de167 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 12 May 2014 23:16:02 +0200 Subject: [PATCH] Add password to the list of reserved words --- public/vroom.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/vroom.pl b/public/vroom.pl index 3e89741..e250e0c 100755 --- a/public/vroom.pl +++ b/public/vroom.pl @@ -212,7 +212,7 @@ helper valid_room_name => sub { my $ret = undef; my $len = length $name; # A few names are reserved - my @reserved = qw(about help feedback goodbye admin create localize action missing dies); + my @reserved = qw(about help feedback goodbye admin create localize action missing dies password); if ($len > 0 && $len < 50 && $name =~ m/^[\w\-]+$/ && !grep { $name eq $_ } @reserved){ $ret = 1; }