donate command: s/Price/Amount/
This commit is contained in:
parent
23e08fa977
commit
92fb63088c
1 changed files with 2 additions and 1 deletions
|
@ -6,7 +6,8 @@ sub command :Tab(unlisted,donate) ($self, $cart, $command, @) {
|
||||||
$command eq 'unlisted' or $command eq 'donate' or return NEXT;
|
$command eq 'unlisted' or $command eq 'donate' or return NEXT;
|
||||||
$self->{command} = $command;
|
$self->{command} = $command;
|
||||||
|
|
||||||
return "Price", \&amount;
|
my $prompt = $command eq 'donate' ? 'Amount' : 'Price';
|
||||||
|
return $prompt, \&amount;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub amount($self, $cart, $arg, @) {
|
sub amount($self, $cart, $arg, @) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue