From 2184fb796e3d597595b67e4f205b0de19402ce3a Mon Sep 17 00:00:00 2001 From: Robert Gerus Date: Tue, 25 Mar 2014 05:30:54 +0100 Subject: [PATCH] add gentoo bugs. --- plugins/commands/gentoo-bugs.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/commands/gentoo-bugs.rb b/plugins/commands/gentoo-bugs.rb index ae646ab..818d916 100644 --- a/plugins/commands/gentoo-bugs.rb +++ b/plugins/commands/gentoo-bugs.rb @@ -2,8 +2,6 @@ require 'net/http' require 'nokogiri' Client.register_command("bug") { |args| - args[0] + Nokogiri::HTML(Net::HTTP.get(URI(Config[:commands][:bug][:url] + args[0]))).title().delete!('\n') } - -