summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorDmitry Kim <dmitry point kim at gmail point com>2007-03-20 00:37:22 +0000
committerDmitry Kim <dmitry point kim at gmail point com>2007-03-20 00:37:22 +0000
commit4cd6bc945574015c92ba67b8dd661f01d7b0eb69 (patch)
treeb6b67595230f2aea13f17a12900984bcbd7b3e70 /lib/rbot
parent1c9e8480384b016e710be6881bba3519e6a225f4 (diff)
* don't set @failures_shown on debug(status)
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/plugins.rb5
1 files changed, 3 insertions, 2 deletions
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