]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
* don't set @failures_shown on debug(status)
authorDmitry Kim <dmitry point kim at gmail point com>
Tue, 20 Mar 2007 00:37:22 +0000 (00:37 +0000)
committerDmitry Kim <dmitry point kim at gmail point com>
Tue, 20 Mar 2007 00:37:22 +0000 (00:37 +0000)
lib/rbot/plugins.rb

index 7667ff84a6ccf6b549c9bba0a96ec79ebf6b1775..80ac2f1cc5a4e2933bc73246eb950788de18d5df 100644 (file)
@@ -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