diff options
author | Badlop <badlop@process-one.net> | 2009-12-04 18:35:14 +0000 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2009-12-04 18:35:14 +0000 |
commit | 8983cba1292ae473943109d2302b7bf2e4e20038 (patch) | |
tree | a6c2899eb2a2539f6568c62b3f7d16e1879f95d3 /src | |
parent | Call ejabberd_router:route/3 instead of sending a message (EJAB-1114) (diff) |
Typo in mod_pubsub_odbc breaks Service Discovery and more (EJAB-1115)
SVN Revision: 2784
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_pubsub/mod_pubsub.erl | 2 | ||||
-rw-r--r-- | src/mod_pubsub/mod_pubsub_odbc.erl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index a275b0104..0c713dd3d 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -631,7 +631,7 @@ disco_local_features(Acc, _From, To, [], _Lang) -> end, {result, Feats ++ lists:map(fun(Feature) -> ?NS_PUBSUB++"#"++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 25c3bf85f..bafd7503d 100644 --- a/src/mod_pubsub/mod_pubsub_odbc.erl +++ b/src/mod_pubsub/mod_pubsub_odbc.erl @@ -434,7 +434,7 @@ disco_local_features(Acc, _From, To, [], _Lang) -> end, {result, Feats ++ lists:map(fun(Feature) -> ?NS_PUBSUB++"#"++Feature - end, features(Host, []))}; + end, features(Host, <<>>))}; disco_local_features(Acc, _From, _To, _Node, _Lang) -> Acc. |