Browse Source

* src/backends/exec.c : ready()

master
Alex 'AdUser' Z 9 years ago
parent
commit
fb755301c9
  1. 10
      src/backends/exec.c

10
src/backends/exec.c

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

Loading…
Cancel
Save