diff --git a/src/hlua.c b/src/hlua.c index 9ecf03210..c76abc648 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -6230,7 +6230,7 @@ static enum act_return hlua_action(struct act_rule *rule, struct proxy *px, case HLUA_E_AGAIN: /* Set timeout in the required channel. */ if (s->hlua->wake_time != TICK_ETERNITY) { - if (dir & SMP_OPT_DIR_REQ) + if (dir == SMP_OPT_DIR_REQ) s->req.analyse_exp = s->hlua->wake_time; else s->res.analyse_exp = s->hlua->wake_time;