diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index 578441bca..dfd2e2b2f 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -640,7 +640,7 @@ disco_local_features(Acc, _From, To, <<>>, _Lang) -> end, {result, Feats ++ lists:map(fun(Feature) -> ?NS_PUBSUB_s++"#"++Feature - end, features(Host, []))}; + end, features(Host, <<>>))}; disco_local_features(Acc, _From, _To, _Node, _Lang) -> Acc. diff --git a/src/mod_pubsub/mod_pubsub_odbc.erl b/src/mod_pubsub/mod_pubsub_odbc.erl index d0668080a..d6d3edaaa 100644 --- a/src/mod_pubsub/mod_pubsub_odbc.erl +++ b/src/mod_pubsub/mod_pubsub_odbc.erl @@ -445,7 +445,7 @@ disco_local_features(Acc, _From, To, <<>>, _Lang) -> end, {result, Feats ++ lists:map(fun(Feature) -> ?NS_PUBSUB_s++"#"++Feature - end, features(Host, []))}; + end, features(Host, <<>>))}; disco_local_features(Acc, _From, _To, _Node, _Lang) -> Acc.