Fix corporea interceptor causing wrong count on index requests

If the interceptor triggered a funnel making a request on the same
network it would've overwritten the request counts with last funnel's
This commit is contained in:
Hubry committed 2019-02-21 12:59:03 +01:00
1 parent 404f18604b
commit c1841ff5dd
1 file changed
+3 -3
@@ -194,12 +194,12 @@ public final class CorporeaHelper {
}
}
lastRequestMatches = request.foundItems;
lastRequestExtractions = request.extractedItems;
for(ICorporeaInterceptor interceptor : interceptors.keySet())
interceptor.interceptRequestLast(matcher, itemCount, interceptors.get(interceptor), spark, stacks, inventories, doit);
lastRequestMatches = request.foundItems;
lastRequestExtractions = request.extractedItems;
return stacks;
}