timer: Add a backwards-compatibility hack to awful

Signed-off-by: Uli Schlachter <psychon@znc.in>