From e697a3e2621de8d0ebc543d0784c0de9a2993975 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Tue, 31 Oct 2017 11:59:53 +0100 Subject: [PATCH] Add missing type conversion from 675cc3e --- src/mod_pubsub.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index 877c884c5..e065bdaae 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().