Add missing type conversion from 675cc3e

This commit is contained in:
Christophe Romain 2017-10-31 11:59:53 +01:00
parent 8cb71255eb
commit e697a3e262
1 changed files with 1 additions and 1 deletions

View File

@ -3402,7 +3402,7 @@ subscription_plugin(Host) ->
submodule(Host, Type, Name) ->
case gen_mod:db_type(serverhost(Host), ?MODULE) of
mnesia -> ejabberd:module_name([<<"pubsub">>, Type, Name]);
Db -> ejabberd:module_name([<<"pubsub">>, Type, Name, Db])
Db -> ejabberd:module_name([<<"pubsub">>, Type, Name, misc:atom_to_binary(Db)])
end.
-spec config(binary(), any()) -> any().