Users: `my`: must be admin to set "name"

This commit is contained in:
Pragmatic Software 2020-01-31 03:09:24 -08:00
parent 982cefcebd
commit a5fbb74095
1 changed files with 1 additions and 1 deletions

View File

@ -503,7 +503,7 @@ sub mycmd {
$key = lc $key;
if (defined $value and $u->{level} == 0) {
my @disallowed = qw/level autoop autovoice/;
my @disallowed = qw/name level autoop autovoice/;
if (grep { $_ eq $key } @disallowed) {
return "You must be an admin to set $key.";
}