From a5fbb74095fa791daff9c457e9fc958b16bedc35 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Fri, 31 Jan 2020 03:09:24 -0800 Subject: [PATCH] Users: `my`: must be admin to set "name" --- PBot/Users.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PBot/Users.pm b/PBot/Users.pm index 611b9769..67d07043 100644 --- a/PBot/Users.pm +++ b/PBot/Users.pm @@ -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."; }