summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2014-04-27 14:14:06 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2014-04-27 14:14:06 +0200
commitfbc2c1b68d67131a438c94c2752183297a3a6aac (patch)
tree46eacc7c0b45b383dadbe36c990a5727277ebed5
parent03ac69cc6d229abe71a82db9f284efa933e7307b (diff)
downloadrepost-fbc2c1b68d67131a438c94c2752183297a3a6aac.tar.gz
repost-fbc2c1b68d67131a438c94c2752183297a3a6aac.tar.bz2
repost-fbc2c1b68d67131a438c94c2752183297a3a6aac.tar.xz
repost-fbc2c1b68d67131a438c94c2752183297a3a6aac.zip
ehh...
-rw-r--r--plugins/commands/cycki.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/commands/cycki.rb b/plugins/commands/cycki.rb
index 3c4447c..77fd612 100644
--- a/plugins/commands/cycki.rb
+++ b/plugins/commands/cycki.rb
@@ -5,7 +5,6 @@ Client.register_command("cycki") { |args|
link = ""
begin
link = Nokogiri::HTML(Net::HTTP.get(URI(Config[:commands][:cycki][:url]))).xpath('//img/@src').inner_text.gsub("_preview", "")
- p link
end while link !~ /http/
Config[:commands][:cycki][:message] + link
}