summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-22 15:19:58 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2006-07-22 15:19:58 +0000
commit0eb14d155efce452aa168e047fbd42c963b294af (patch)
treecdd9ce9dd8dc2e521dfa730590c69602af7fbf14 /lib
parent711bc431ab503909d4dbfa7b6cd775a764990eeb (diff)
Ok, too hasty. Fix 'no plugins loaded on rescan' bug introduced by previous patch
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/plugins.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb
index 8ac3341d..f2dba5d4 100644
--- a/lib/rbot/plugins.rb
+++ b/lib/rbot/plugins.rb
@@ -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