diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-24 08:56:04 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2024-02-24 08:56:04 -0500 |
commit | dc8a572cb66f9b1c9ed947d6179beba350f26fbb (patch) | |
tree | e0ffecfe339e662bc8d8ba587bfb3d11e572a4ee /app | |
parent | da59a288faff5c0be53c9b54d16e89d53f4af5ca (diff) | |
download | thoughts-dc8a572cb66f9b1c9ed947d6179beba350f26fbb.tar.gz thoughts-dc8a572cb66f9b1c9ed947d6179beba350f26fbb.tar.bz2 thoughts-dc8a572cb66f9b1c9ed947d6179beba350f26fbb.zip |
Fix comment issue
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/comments_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
30 | env: request.env.slice(*akismet_vars) | 30 | env: request.env.slice(*akismet_vars) |
31 | } | 31 | } |
32 | 32 | ||
33 | is_spam, is_blatant = Akismet.check(@comment.ip, @comment.user_agent, akismet_params) | 33 | is_spam, is_blatant = Akismet.check(@comment.request_ip, @comment.user_agent, akismet_params) |
34 | 34 | ||
35 | if is_blatant | 35 | if is_blatant |
36 | # I am lying. | 36 | # I am lying. |