From 1484fbd567218d93297b05b195c86ffde19cc4c3 Mon Sep 17 00:00:00 2001 From: Yaohan Chen Date: Sat, 14 Jul 2007 00:29:12 +0000 Subject: - fixed an error due to copy and pasting causing the help message to list core modules twice without listing plugins --- lib/rbot/plugins.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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" -- cgit v1.2.3