diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-22 15:19:58 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-07-22 15:19:58 +0000 |
commit | 0eb14d155efce452aa168e047fbd42c963b294af (patch) | |
tree | cdd9ce9dd8dc2e521dfa730590c69602af7fbf14 /lib | |
parent | 711bc431ab503909d4dbfa7b6cd775a764990eeb (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.rb | 2 |
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 |