'curtime' returning zero

Signed-off-by: nixnodes <code@nixnodes.net>