summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authordoki_pen <rcorsaro@optaros.com>2008-04-10 10:13:46 -0400
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-10 16:25:32 +0200
commit8bab7c7470a7f0d528332172177744953f2e9387 (patch)
tree08b3f2b14b13d951428291d4f4eaaadd04227d2e /lib/rbot
parentc4c4a8eb86172f718c88b037a2ea153637f472af (diff)
Bug fix, priority order needs to be marked dirty when modules added.
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/plugins.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb
index 7cd163f3..9277d183 100644
--- a/lib/rbot/plugins.rb
+++ b/lib/rbot/plugins.rb
@@ -476,6 +476,7 @@ module Plugins
end
@botmodules[kl] << botmodule
@names_hash[botmodule.to_sym] = botmodule
+ mark_priorities_dirty
end
# Returns an array of the loaded plugins