]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
- fixed an error due to copy and pasting causing the help message to list core modules
authorYaohan Chen <yaohan.chen@gmail.com>
Sat, 14 Jul 2007 00:29:12 +0000 (00:29 +0000)
committerYaohan Chen <yaohan.chen@gmail.com>
Sat, 14 Jul 2007 00:29:12 +0000 (00:29 +0000)
  twice without listing plugins

lib/rbot/plugins.rb

index ba6175fa3733e23ed547d7b53c2d99e19dc4a258..0f9778f7188af88cf1c163f3c7a62cfbd7ff2820 100644 (file)
@@ -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"