Fixed: Pool:evaluate should bypass Pool:add filter check

This commit is contained in:
Pablo Ariel Mayobre 2020-03-14 14:56:25 -03:00
parent 16e111176e
commit 9ae805aa43
No known key found for this signature in database
GPG key ID: 5ACD9E6858BEB0A9
2 changed files with 19 additions and 19 deletions

View file

@ -72,7 +72,7 @@ function Pool:evaluate(e)
local eligible = self:eligible(e)
if not has and eligible then
self:add(e)
self:add(e, true) --Bypass the check cause we already checked
elseif has and not eligible then
self:remove(e)
end