From dc8a572cb66f9b1c9ed947d6179beba350f26fbb Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 24 Feb 2024 08:56:04 -0500 Subject: Fix comment issue --- app/controllers/comments_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/comments_controller.rb b/app/controllers/comments_controller.rb index 9fa05e4..368f587 100644 --- a/app/controllers/comments_controller.rb +++ b/app/controllers/comments_controller.rb @@ -30,7 +30,7 @@ class CommentsController < ApplicationController env: request.env.slice(*akismet_vars) } - is_spam, is_blatant = Akismet.check(@comment.ip, @comment.user_agent, akismet_params) + is_spam, is_blatant = Akismet.check(@comment.request_ip, @comment.user_agent, akismet_params) if is_blatant # I am lying. -- cgit 1.4.1