From d833247f099504e36c47286ad5abe4079a026ba1 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 10 Apr 2008 00:07:27 +0200 Subject: plugins: mark priorities dirty on rescan --- lib/rbot/plugins.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/rbot') diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index 5095d19d..1734233b 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -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 -- cgit v1.2.3