From 91730ddd4bdbbbefbcf7892e5ef6c58eed9f2cb6 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 16 Aug 2006 23:29:48 +0000 Subject: Fix help --- ChangeLog | 5 +++++ lib/rbot/plugins.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 99317091..e3a4e6cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-17 Giuseppe Bilotta + + * Fix help: It got broken while rearranging the plugin stuff, now it's + properly fixed. + 2006-08-12 Giuseppe Bilotta * Subregistry: force prefix to be a String with to_s 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