Commit f215f8b8 authored by Nigel Kukard's avatar Nigel Kukard

Only remove users which are not SHAPER_NOTLIVE

It could be we have multiple remove events queued, this is mostly
the case if we do a full reload from file and we populate very
many events with IP conflicts at once.
parent 4cab771b
......@@ -471,6 +471,12 @@ sub do_remove
# Make sure its being shaped at present, it could be we have multiple removes queued?
if (getShaperState($lid) == SHAPER_NOTLIVE) {
$logger->log(LOG_INFO,"[TC] Ignoring duplicate remove for '$limit->{'Username'}' [$lid]");
$logger->log(LOG_INFO,"[TC] Remove '$limit->{'Username'}' [$lid]");
# Grab our interfaces
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment