Skip to content

Commit

Permalink
Comment should use the new config.
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyatom committed Dec 13, 2008
1 parent a3651e2 commit 91ef5a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vanilla/dynasnips/comments.rb
Expand Up @@ -66,7 +66,7 @@ def render_comments(comments)

def check_for_spam(comment)
snip_date = Date.parse(Soup[app.request.params[:snip]].updated_at)
Defensio.configure(YAML.load(File.read('defensio.yml')))
Defensio.configure(app.config[:defensio])
defensio_params = {
:comment_author_email => comment[:email],
:comment_author => comment[:author],
Expand Down

0 comments on commit 91ef5a9

Please sign in to comment.