From 6851590e6baafc62a0017166f5eadf4750921c4e Mon Sep 17 00:00:00 2001 From: Robert Gerus Date: Thu, 13 Mar 2014 15:35:07 +0100 Subject: [PATCH] typo. --- plugins/scrape.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/scrape.rb b/plugins/scrape.rb index fb6992e..5191bf5 100644 --- a/plugins/scrape.rb +++ b/plugins/scrape.rb @@ -42,7 +42,7 @@ Client.register_trigger("PRIVMSG") do |msg| url = Digest::MD5.hexdigest(word) end - title = Nokogiri::HTML(open(word).read(10240).title().split(/\n/)[0][ + title = Nokogiri::HTML(open(word).read(10240)).title().split(/\n/)[0][ Scrape::Link.create( :url => url,