move the warning.

This commit is contained in:
Robert Gerus 2014-03-09 16:39:07 +01:00
parent d02d2b9733
commit 4df81613f5

View file

@ -2,5 +2,5 @@ require 'net/http'
require 'nokogiri'
Client.register_command("cycki") { |args|
Nokogiri::HTML(Net::HTTP.get(URI(Config[:commands][:cycki][:url]))).xpath('//img/@src').inner_text + Config[:commands][:cycki][:message]
Config[:commands][:cycki][:message] + Nokogiri::HTML(Net::HTTP.get(URI(Config[:commands][:cycki][:url]))).xpath('//img/@src').inner_text
}