Commit 7fe1673e authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Don't hide the last ban in the list on the CLI ban.list output

The ban.list output would hide the very last ban on the list unless
the lurker debug flag was set. This hides useful debugging information
(how many objects are stuck on the last ban), without giving any
apparent benefit. Remove the hide code.
parent 7cfe1967
......@@ -1132,8 +1132,6 @@ ccf_ban_list(struct cli *cli, const char * const *av, void *priv)
VCLI_Out(cli, "Present bans:\n");
VTAILQ_FOREACH(b, &ban_head, list) {
if (b == bl && !DO_DEBUG(DBG_LURKER))
break;
VCLI_Out(cli, "%10.6f %5u%s\t", ban_time(b->spec),
bl == b ? b->refcount - 1 : b->refcount,
b->flags & BAN_F_GONE ? "G" : " ");
......
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