aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mod_pubsub/mod_pubsub.erl2
-rw-r--r--src/mod_pubsub/mod_pubsub_odbc.erl2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl
index 1e9d72913..827fe8c9e 100644
--- a/src/mod_pubsub/mod_pubsub.erl
+++ b/src/mod_pubsub/mod_pubsub.erl
@@ -3560,7 +3560,7 @@ select_type(ServerHost, Host, Node, Type)->
SelectedType = case Host of
{_User, _Server, _Resource} ->
case catch ets:lookup(gen_mod:get_module_proc(ServerHost, config), pep_mapping) of
- [{pep_mapping, PM}] -> proplists:get_value(Node, PM, ?PEPNODE);
+ [{pep_mapping, PM}] -> proplists:get_value(node_to_string(Node), PM, ?PEPNODE);
_ -> ?PEPNODE
end;
_ ->
diff --git a/src/mod_pubsub/mod_pubsub_odbc.erl b/src/mod_pubsub/mod_pubsub_odbc.erl
index bbc8e7b85..d4a7e7d10 100644
--- a/src/mod_pubsub/mod_pubsub_odbc.erl
+++ b/src/mod_pubsub/mod_pubsub_odbc.erl
@@ -3393,7 +3393,7 @@ select_type(ServerHost, Host, Node, Type)->
SelectedType = case Host of
{_User, _Server, _Resource} ->
case catch ets:lookup(gen_mod:get_module_proc(ServerHost, config), pep_mapping) of
- [{pep_mapping, PM}] -> proplists:get_value(Node, PM, ?PEPNODE);
+ [{pep_mapping, PM}] -> proplists:get_value(node_to_string(Node), PM, ?PEPNODE);
_ -> ?PEPNODE
end;
_ ->