From: Yaohan Chen Date: Sat, 14 Jul 2007 00:29:12 +0000 (+0000) Subject: - fixed an error due to copy and pasting causing the help message to list core modules X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=1484fbd567218d93297b05b195c86ffde19cc4c3;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git - fixed an error due to copy and pasting causing the help message to list core modules twice without listing plugins --- 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"