]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Fix help
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 16 Aug 2006 23:29:48 +0000 (23:29 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 16 Aug 2006 23:29:48 +0000 (23:29 +0000)
ChangeLog
lib/rbot/plugins.rb

index 99317091628bc14f45777977a83afbc9ea557581..e3a4e6cd5479c304578cb35065cca736942ebeec 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 848240cffcb5cd7fb7ddda0268c487082cda126a..933ea14f24927dfbb3f3211b1cc31fb497d28015 100644 (file)
@@ -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)