Commit 466d9631 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Also set grace = 0 when an object is banned.

Spotted by:	Geoff
parent ff1165c5
......@@ -476,6 +476,7 @@ ban_check_object(struct object *o, const struct sess *sp, int has_req)
return (0);
} else {
o->ttl = 0;
o->grace = 0;
oc->ban = NULL;
oc_updatemeta(oc);
/* BAN also changed, but that is not important any more */
......
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