]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Ok, too hasty. Fix 'no plugins loaded on rescan' bug introduced by previous patch
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 22 Jul 2006 15:19:58 +0000 (15:19 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 22 Jul 2006 15:19:58 +0000 (15:19 +0000)
lib/rbot/plugins.rb

index 8ac3341d909c1034e1ebcce80c3c7d50e87d3120..f2dba5d4f1605bc770d51ee67109ebe3d0fbaa0e 100644 (file)
@@ -190,7 +190,7 @@ module Plugins
 
     # load plugins from pre-assigned list of directories
     def scan
-      processed = @blacklist
+      processed = @blacklist.dup
       dirs = Array.new
       dirs << Config::datadir + "/plugins"
       dirs += @dirs