diff options
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/conf.c b/conf.c index 74a07af..f31c34e 100644 --- a/conf.c +++ b/conf.c @@ -76,6 +76,7 @@ void conf_init(struct conf *c) { c->flags = 0; + c->bwidth = CONF_BWIDTH; TAILQ_INIT(&c->ignoreq); TAILQ_INIT(&c->cmdq); @@ -201,7 +202,7 @@ conf_client(struct client_ctx *cc) } else ignore = 1; - cc->bwidth = ignore ? 0 : CLIENT_BWIDTH; + cc->bwidth = ignore ? 0 : Conf.bwidth; cc->flags |= ignore ? CLIENT_IGNORE : 0; } |