summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-16 23:29:48 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-08-16 23:29:48 +0000
commit91730ddd4bdbbbefbcf7892e5ef6c58eed9f2cb6 (patch)
tree55cb9ad7aaa5a228aae2895919d3762940f6ceaf /lib/rbot
parent3172e67983a3b563432c3546cb853f2f5fca54e3 (diff)
Fix help
Diffstat (limited to 'lib/rbot')
-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 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)