@ -126,6 +126,16 @@ config(cfg_t *cfg, const char *key, const char *value) {
return false;
}
bool
ready(cfg_t *cfg) {
assert(cfg != NULL);
if (cfg->ban && cfg->unban)
return true;
ping(cfg_t *cfg) {
return cfg != NULL;