diff options
author | Yaohan Chen <yaohan.chen@gmail.com> | 2007-07-22 20:57:29 +0000 |
---|---|---|
committer | Yaohan Chen <yaohan.chen@gmail.com> | 2007-07-22 20:57:29 +0000 |
commit | 7f561654757f8f6c8b05a0ed03fe60da29c38965 (patch) | |
tree | 06b3e2579a5cfa2158be6922119d624f14435f94 | |
parent | 9ddf627d6d75ecd3ca93a29cc6b08df1bfee10fd (diff) |
fixed a copy-paste error causing incorrect count of failed plugins to be displayed
-rw-r--r-- | lib/rbot/plugins.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index 0f9778f7..bc5211b5 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -519,13 +519,13 @@ module Plugins if short output << n_("%{highlight}%{count} plugin failed to load%{highlight}", "%{highlight}%{count} plugins failed to load%{highlight}", - @ignored.length) % - { :count => @ignored.length, :highlight => Reverse } + @failed.length) % + { :count => @failed.length, :highlight => Reverse } else output << n_("%{highlight}%{count} plugin failed to load%{highlight}: use %{bold}%{command}%{bold} to see why", "%{highlight}%{count} plugins failed to load%{highlight}: use %{bold}%{command}%{bold} to see why", - @ignored.length) % - { :count => @ignored.length, :highlight => Reverse, + @failed.length) % + { :count => @failed.length, :highlight => Reverse, :bold => Bold, :command => "#{Bold}help failed plugins#{Bold}"} end end |