]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
plugins: mark priorities dirty on rescan
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 9 Apr 2008 22:07:27 +0000 (00:07 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Wed, 9 Apr 2008 22:07:27 +0000 (00:07 +0200)
lib/rbot/plugins.rb

index 5095d19d3364de3089b4ff8cd395e648631461ab..1734233b7e3871254e6244a1bb9378869f1c4938 100644 (file)
@@ -424,6 +424,7 @@ module Plugins
       @commandmappers.clear
       @maps.clear
       @failures_shown = false
+      mark_priorities_dirty
     end
 
     # Associate with bot _bot_
@@ -616,6 +617,7 @@ module Plugins
          @delegate_list[m.intern] << p
        }
       }
+      mark_priorities_dirty
     end
 
     # call the save method for each active plugin