This commit is contained in:
Robert Gerus 2014-04-06 15:11:09 +02:00
parent 2076d8fe35
commit 2d133a4d2d

View file

@ -2,7 +2,7 @@ require 'net/http'
require 'uri'
Client.register_command("kotki") { |args|
url = URL.parse(Config[:commands][:kotki][:url])
url = URI.parse(Config[:commands][:kotki][:url])
req = Net::HTTP::Get.new(url.path)
response = Net::HTTP.start(url.host, url.port) { |http| http.request(req) }