Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Commit 5f70dc8

Browse files
committed
repeat: remove old and unneeded line
Leftover from 5e5c27a
1 parent e35aa90 commit 5f70dc8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plugins/repeat

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ sub command($self, $cart, $command, @) {
2525
return REJECT, $err_postfix if $op eq '+' or $op eq '-';
2626
return REJECT, "Invalid value." if $lhs == 0;
2727

28-
$lhs = abs $lhs; # withdrawal is negative
29-
3028
return REJECT, $err_limit if $lhs > $limit;
3129
$cart
3230
->add(0, "? (The next thing you add will be multiplied.)", { _repeat => 1, refuse_checkout => 1 })

0 commit comments

Comments
 (0)