diff --git a/staff/acct/sorry/sorry b/staff/acct/sorry/sorry index 411919e..0f3eed5 100755 --- a/staff/acct/sorry/sorry +++ b/staff/acct/sorry/sorry @@ -27,7 +27,7 @@ fi sorriedUser=$1 -if [[ ! "$sorriedUser" =~ ^[a-z]+ ]]; then +if [[ ! "$sorriedUser" =~ ^[a-z0-9]+ ]]; then echo "$sorriedUser is an invalid username" exit 3 fi