break;
case STATE_BANNED:
msg(L_INFO, "Unbanned %s", AFMT(c->addr));
+ c->fail_count = 0;
culprit_set_state(c, STATE_PROBATION, probation_time);
is_modify(0, c->addr);
- c->fail_count = 0;
break;
default:
ASSERT(0);
rhost = val;
}
+ if (!rhost || !rhost[0])
+ return;
+
// Act on the message
struct addr addr;
if (addr_parse(&addr, rhost))