From b4aae14a0964614ee9fdbc11edd543e0d92e06b5 Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Wed, 16 Jan 2019 21:07:29 +0100 Subject: Use ataxia_time as a param, not seconds. --- src/ataxia_lock.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/ataxia_lock.erl b/src/ataxia_lock.erl index fef131d..035d3c6 100644 --- a/src/ataxia_lock.erl +++ b/src/ataxia_lock.erl @@ -37,7 +37,7 @@ locked (User, Time) -> { status = locked, permission = ataxia_security:allow_only(User), - time = ataxia_time:add(ataxia_time:now(), Time) + time = Time }. -spec unlocked () -> type(). -- cgit v1.2.3-70-g09d2