Skip to content

Commit

Permalink
Updated url used by fail plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael MacDonald committed Oct 30, 2010
1 parent 9671255 commit 9764dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/fail.rb
Expand Up @@ -7,7 +7,7 @@ class Fail < CampfireBot::Plugin

def fail(msg)
# Scrape random fail
fail = (Hpricot(open('http://failblog.org/?random#top'))/'div.snap_preview img').first
fail = (Hpricot(open('http://failblog.org/?random#top'))/'div.entry img').first

msg.speak(fail['src'])
rescue => e
Expand Down

0 comments on commit 9764dea

Please sign in to comment.