]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/plugins.rb
Fix help (one more time)
[user/henk/code/ruby/rbot.git] / lib / rbot / plugins.rb
index 0dc8832461ce7334aa0479ce156271340ac2e2e0..8aa75d203f656790673b2abf4a9a826328e56c4e 100644 (file)
@@ -533,7 +533,7 @@ module Plugins
         if commands.has_key?(k)
           p = commands[k][:botmodule] 
           begin
-            return p.help(p.name, topic)
+            return p.help(key, params)
           rescue Exception => err
             #rescue TimeoutError, StandardError, NameError, SyntaxError => err
             error report_error("#{p.botmodule_class} #{p.name} help() failed:", err)