25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

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

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().