aboutsummaryrefslogtreecommitdiff
path: root/src/mod_last.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-11-23 10:41:26 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-11-23 10:41:26 +0300
commit6f2f1e87c950b7bc7396ae7f556f85b38c1e5fd4 (patch)
treeca90fa048d9adf1cd686151ac6c122745273adc9 /src/mod_last.erl
parentFix xref issue injected by fbfbb96 (diff)
Don't use deprecated functions from jlib.erl
Diffstat (limited to 'src/mod_last.erl')
-rw-r--r--src/mod_last.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_last.erl b/src/mod_last.erl
index 895a8e215..463eac051 100644
--- a/src/mod_last.erl
+++ b/src/mod_last.erl
@@ -217,7 +217,7 @@ import_start(LServer, DBType) ->
import(LServer, {sql, _}, DBType, <<"last">>, [LUser, TimeStamp, State]) ->
TS = case TimeStamp of
<<"">> -> 0;
- _ -> jlib:binary_to_integer(TimeStamp)
+ _ -> binary_to_integer(TimeStamp)
end,
LA = #last_activity{us = {LUser, LServer},
timestamp = TS,