diff --git a/app/models/user.rb b/app/models/user.rb index dc707322..3e1e1d69 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -799,6 +799,9 @@ class User < Owner end def daily_reward + if !Rails.application.config_for(:configuration)["sponsor"] + return + end t1 = Time.now t2 = Time.new(t1.year, t1.month, t1.day)