post urls.

master
Robert Gerus 2014-03-25 05:32:14 +01:00
parent 2184fb796e
commit 8e7de643df
1 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,6 @@ require 'net/http'
require 'nokogiri'
Client.register_command("bug") { |args|
Nokogiri::HTML(Net::HTTP.get(URI(Config[:commands][:bug][:url] + args[0]))).title().delete!('\n')
Config[:commands][:bug][:url] + args[0] + Nokogiri::HTML(Net::HTTP.get(URI(Config[:commands][:bug][:url] + args[0]))).title().delete!('\n')
}