mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
Add missing type conversion from 675cc3e
This commit is contained in:
parent
8cb71255eb
commit
e697a3e262
@ -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().
|
||||
|
Loading…
Reference in New Issue
Block a user