From 7970afe94ee52a64085b945882604f90f52569ee Mon Sep 17 00:00:00 2001 From: Phillip Davis Date: Tue, 9 Dec 2025 16:09:01 -0500 Subject: [PATCH] give us all your money --- lib/registration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/registration.rb b/lib/registration.rb index be6bfee2aa9066f2d3d0fb1d50d085ad7a3943d9..0b22c9bfb88ce55d86eed70c263bc3dd242e8874 100644 --- a/lib/registration.rb +++ b/lib/registration.rb @@ -82,7 +82,7 @@ class Registration class DataOnly def self.for(customer, sim_kind) cfg = sim_kind.cfg(customer.currency) - unless cfg && customer.balance > cfg[:price] + unless cfg && customer.balance >= cfg[:price] return PayForSim.new(customer, sim_kind) end