summaryrefslogtreecommitdiff
path: root/lib/rbot/plugins.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-10-02 09:02:17 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-10-02 09:02:17 +0000
commit6cd8a9744dc12e27e97393f2f854e9ae07e9cccc (patch)
tree0660f756d53e90f583f598ae35c8f6c21c652d90 /lib/rbot/plugins.rb
parentec1283c068d81d5d5abb153b5dac00655d854a00 (diff)
Fix help (one more time)
Diffstat (limited to 'lib/rbot/plugins.rb')
-rw-r--r--lib/rbot/plugins.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb
index 0dc88324..8aa75d20 100644
--- a/lib/rbot/plugins.rb
+++ b/lib/rbot/plugins.rb
@@ -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)