summaryrefslogtreecommitdiffstats
path: root/plugins/commands/sjp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/commands/sjp.rb')
-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
}