From a091c324a3bb6e2103231b66a71e4de5d872e08a Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 8 Mar 2020 12:39:07 -0500 Subject: add parenthesis to `froze?` logic for clarity --- app/models/account.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/account.rb b/app/models/account.rb index 76ffdfc07..caa5dffac 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -200,7 +200,7 @@ class Account < ApplicationRecord end def froze? - local? ? (self&.user.nil? ? true : user.disabled?) : froze || !known + (local? ? (self&.user.nil? ? true : user.disabled?) : froze) || !known end def bot? -- cgit