diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-08-16 23:29:48 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-08-16 23:29:48 +0000 |
commit | 91730ddd4bdbbbefbcf7892e5ef6c58eed9f2cb6 (patch) | |
tree | 55cb9ad7aaa5a228aae2895919d3762940f6ceaf | |
parent | 3172e67983a3b563432c3546cb853f2f5fca54e3 (diff) |
Fix help
-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) |