]> granicus.if.org Git - ejabberd/commitdiff
Add missing jlib->aux convertion
authorChristophe Romain <christophe.romain@process-one.net>
Thu, 30 Mar 2017 12:28:55 +0000 (14:28 +0200)
committerChristophe Romain <christophe.romain@process-one.net>
Thu, 30 Mar 2017 12:28:55 +0000 (14:28 +0200)
src/mod_pubsub.erl

index e9d9769a5649e81666ac2f282fcfe1fbc761e93c..995388cc4c7ea750861b8b1c12e2a8e7e81fd382 100644 (file)
@@ -3453,7 +3453,7 @@ submodule(Host, Name) ->
     case gen_mod:db_type(serverhost(Host), ?MODULE) of
        mnesia -> aux:binary_to_atom(Name);
        Type -> aux:binary_to_atom(<<Name/binary, "_",
-                   (jlib:atom_to_binary(Type))/binary>>)
+                   (aux:atom_to_binary(Type))/binary>>)
     end.
 
 -spec config(binary(), any()) -> any().