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) ->
|
submodule(Host, Type, Name) ->
|
||||||
case gen_mod:db_type(serverhost(Host), ?MODULE) of
|
case gen_mod:db_type(serverhost(Host), ?MODULE) of
|
||||||
mnesia -> ejabberd:module_name([<<"pubsub">>, Type, Name]);
|
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.
|
end.
|
||||||
|
|
||||||
-spec config(binary(), any()) -> any().
|
-spec config(binary(), any()) -> any().
|
||||||
|
|
Loading…
Reference in New Issue