summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2003-11-05 10:26:44 +0000
committerivan <ivan>2003-11-05 10:26:44 +0000
commitff5572a598762832d17be6e3425a1c5bf199681d (patch)
tree06f8e377e6ff6320958d52d64154e8ce9e7d284e /FS
parentc9598f8e42c8e689084a0f272dfaf1b7327f0bfe (diff)
allow letters in quota for use with edquota -p
Diffstat (limited to 'FS')
-rw-r--r--FS/FS/svc_acct.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/svc_acct.pm b/FS/FS/svc_acct.pm
index 0b37f0620..a0823e6d4 100644
--- a/FS/FS/svc_acct.pm
+++ b/FS/FS/svc_acct.pm
@@ -799,7 +799,7 @@ sub check {
or return "Illegal finger: ". $self->getfield('finger');
$self->setfield('finger', $1);
- $recref->{quota} =~ /^(\d*)$/ or return "Illegal quota";
+ $recref->{quota} =~ /^(\w*)$/ or return "Illegal quota";
$recref->{quota} = $1;
unless ( $part_svc->part_svc_column('slipip')->columnflag eq 'F' ) {