master
Robert Gerus 2014-04-06 15:11:09 +02:00
parent 2076d8fe35
commit 2d133a4d2d
1 changed files with 1 additions and 1 deletions

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) }