about summary refs log tree commit diff stats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/comments_controller.rb2
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.