summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <rgerus@dpd.com.pl>2015-04-16 10:34:09 +0200
committerRobert Gerus <rgerus@dpd.com.pl>2015-04-16 10:34:09 +0200
commit52c1a888cf2f80dee4bc61bb4e173710424c906e (patch)
tree849adb5a93f6c9c2b50f0ed551a86f5acdc71a47
parentef6c54e0c1d528b56e13be0287ebac4ee1c59cc7 (diff)
downloadrepost-52c1a888cf2f80dee4bc61bb4e173710424c906e.tar.gz
repost-52c1a888cf2f80dee4bc61bb4e173710424c906e.tar.bz2
repost-52c1a888cf2f80dee4bc61bb4e173710424c906e.tar.xz
repost-52c1a888cf2f80dee4bc61bb4e173710424c906e.zip
whoopsie
-rw-r--r--plugins/commands/sjp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/commands/sjp.rb b/plugins/commands/sjp.rb
index 6ccd023..5f71ba0 100644
--- a/plugins/commands/sjp.rb
+++ b/plugins/commands/sjp.rb
@@ -2,6 +2,6 @@ require 'net/http'
require 'nokogiri'
Client.register_command("sjp") { |args|
- doc = Nokogiri::HTML(Net::HTTP.get(URI(Config.lookup("commands::sjp::url") + args:0)))
+ doc = Nokogiri::HTML(Net::HTTP.get(URI(Config.lookup("commands::sjp::url") + args[0])))
doc.xpath('//ul[@id="listahasel"]/li/div/div').inner_text
}