]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/plugins.rb
* (timer) stop the bot timer for shutdown / rescan
[user/henk/code/ruby/rbot.git] / lib / rbot / plugins.rb
index 28ca4a7dcfa79433f33248b5247ec37f2e207180..99ae31b6f03db8ddd2d7ed32493879ca3ec409cb 100644 (file)
@@ -366,7 +366,7 @@ module Plugins
         return :loaded
       rescue Exception => err
         # rescue TimeoutError, StandardError, NameError, LoadError, SyntaxError => err
-        warning report_error("#{desc}#{fname} load failed", err)
+        error report_error("#{desc}#{fname} load failed", err)
         bt = err.backtrace.select { |line|
           line.match(/^(\(eval\)|#{fname}):\d+/)
         }
@@ -526,7 +526,7 @@ module Plugins
                        "%{highlight}%{count} plugins failed to load%{highlight}: use %{bold}%{command}%{bold} to see why",
                        @failed.length) %
                     { :count => @failed.length, :highlight => Reverse,
-                      :bold => Bold, :command => "#{Bold}help failed plugins#{Bold}"}
+                      :bold => Bold, :command => "help failed plugins"}
         end
       end
       output.join '; '