diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/rbot/plugins.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2006-08-17 Giuseppe Bilotta <giuseppe.bilotta@gmail.com> + + * Fix help: It got broken while rearranging the plugin stuff, now it's + properly fixed. + 2006-08-12 Giuseppe Bilotta <giuseppe.bilotta@gmail.com> * 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) |