aboutsummaryrefslogtreecommitdiff
path: root/src/mod_caps.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-09-24 23:34:28 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-09-24 23:34:28 +0300
commitfa31e3ef2321e3901d167d3654693b85313acf08 (patch)
treea0cc9c146661887ef0b1440a103484fa5684e044 /src/mod_caps.erl
parentImprove namespace handling (diff)
Deprecate jlib:integer_to_binary/1 and jlib:binary_to_integer/1
Diffstat (limited to 'src/mod_caps.erl')
-rw-r--r--src/mod_caps.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_caps.erl b/src/mod_caps.erl
index ae11ab651..4d9bdd61f 100644
--- a/src/mod_caps.erl
+++ b/src/mod_caps.erl
@@ -546,7 +546,7 @@ import_start(LServer, DBType) ->
import(_LServer, {sql, _}, _DBType, <<"caps_features">>,
[Node, SubNode, Feature, _TimeStamp]) ->
- Feature1 = case catch jlib:binary_to_integer(Feature) of
+ Feature1 = case catch binary_to_integer(Feature) of
I when is_integer(I), I>0 -> I;
_ -> Feature
end,