diff --git a/src/hlua.c b/src/hlua.c index 32199c9640..4c56409cb4 100644 --- a/src/hlua.c +++ b/src/hlua.c @@ -5552,8 +5552,7 @@ static struct task *hlua_process_task(struct task *task) case HLUA_E_AGAIN: /* co process or timeout wake me later. */ notification_gc(&hlua->com); - if (hlua->wake_time != TICK_ETERNITY) - task->expire = hlua->wake_time; + task->expire = hlua->wake_time; break; /* finished with error. */