diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2017-10-31 11:59:53 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2017-10-31 11:59:53 +0100 |
commit | e697a3e2621de8d0ebc543d0784c0de9a2993975 (patch) | |
tree | 40ea74c3abd985c2db93e925f06bf2277d1125fe | |
parent | Do not bind unused tail from 675cc3e (diff) |
Add missing type conversion from 675cc3e
-rw-r--r-- | src/mod_pubsub.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index 877c884c..e065bdaa 100644 --- a/src/mod_pubsub.erl +++ b/src/mod_pubsub.erl @@ -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(). |