summaryrefslogtreecommitdiff
path: root/app/services/spam/spam_params.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/services/spam/spam_params.rb')
-rw-r--r--app/services/spam/spam_params.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/services/spam/spam_params.rb b/app/services/spam/spam_params.rb
index fef5355c7f3..3420748822d 100644
--- a/app/services/spam/spam_params.rb
+++ b/app/services/spam/spam_params.rb
@@ -23,10 +23,10 @@ module Spam
end
def ==(other)
- other.class == self.class &&
- other.api == self.api &&
- other.captcha_response == self.captcha_response &&
- other.spam_log_id == self.spam_log_id
+ other.class <= self.class &&
+ other.api == api &&
+ other.captcha_response == captcha_response &&
+ other.spam_log_id == spam_log_id
end
end
end