From 91730ddd4bdbbbefbcf7892e5ef6c58eed9f2cb6 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 16 Aug 2006 23:29:48 +0000 Subject: Fix help --- lib/rbot/plugins.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbot') diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index 848240cf..933ea14f 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -518,7 +518,7 @@ module Plugins next unless pl.has_key?(k) p = pl[k][:botmodule] begin - return p.help(p.name, topic) + return p.help(p.name, params) rescue Exception => err #rescue TimeoutError, StandardError, NameError, SyntaxError => err error report_error("#{p.botmodule_class} #{p.name} help() failed:", err) -- cgit v1.2.3