aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2015-05-18 17:30:25 +0200
committerChristophe Romain <christophe.romain@process-one.net>2015-05-18 17:30:25 +0200
commit8bb994dbca7c7466065ff492416f2d37642d6a8f (patch)
treedf0fe47912f00936e14df913e94c22e91ce0b539
parentRemove XEP-0091 tags from test suite (diff)
Call integer_to_binary using jlib (#554)
Diffstat (limited to '')
-rw-r--r--src/mod_pubsub.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl
index 80f6c05a9..8553db4e0 100644
--- a/src/mod_pubsub.erl
+++ b/src/mod_pubsub.erl
@@ -3662,7 +3662,7 @@ max_items(Host, Options) ->
-define(INTEGER_CONFIG_FIELD(Label, Var),
?STRINGXFIELD(Label,
<<"pubsub#", (atom_to_binary(Var, latin1))/binary>>,
- (integer_to_binary(get_option(Options, Var))))).
+ (jlib:integer_to_binary(get_option(Options, Var))))).
-define(JLIST_CONFIG_FIELD(Label, Var, Opts),
?LISTXFIELD(Label,