From 0eb14d155efce452aa168e047fbd42c963b294af Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 22 Jul 2006 15:19:58 +0000 Subject: Ok, too hasty. Fix 'no plugins loaded on rescan' bug introduced by previous patch --- lib/rbot/plugins.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbot') 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 -- cgit v1.2.3