summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaohan Chen <yaohan.chen@gmail.com>2007-07-14 00:29:12 +0000
committerYaohan Chen <yaohan.chen@gmail.com>2007-07-14 00:29:12 +0000
commit1484fbd567218d93297b05b195c86ffde19cc4c3 (patch)
tree3211df9a60ad07e349fdca00973010a4f3e48da1
parentd68e6d145a677f0ea9a3219d711f58c5edff9d6e (diff)
- fixed an error due to copy and pasting causing the help message to list core modules
twice without listing plugins
-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 ba6175fa..0f9778f7 100644
--- a/lib/rbot/plugins.rb
+++ b/lib/rbot/plugins.rb
@@ -494,7 +494,7 @@ module Plugins
output << n_("%{count} plugin: %{list}",
"%{count} plugins: %{list}", self.length) %
{ :count => self.length,
- :list => core_modules.collect{ |p| p.name}.sort.join(", ") }
+ :list => plugins.collect{ |p| p.name}.sort.join(", ") }
end
else
output << "no plugins active"