From 4cd6bc945574015c92ba67b8dd661f01d7b0eb69 Mon Sep 17 00:00:00 2001 From: Dmitry Kim Date: Tue, 20 Mar 2007 00:37:22 +0000 Subject: * don't set @failures_shown on debug(status) --- lib/rbot/plugins.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/rbot') diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index 7667ff84..80ac2f1c 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -499,13 +499,14 @@ module Plugins list << "; #{Reverse}#{@failed.length} plugin#{'s' if @failed.length > 1} failed to load#{Reverse}" list << ": use #{Bold}help failed plugins#{Bold} to see why" unless short end - @failures_shown = true list end # return list of help topics (plugin names) def helptopics - return status + rv = status + @failures_shown = true + rv end def length -- cgit v1.2.3