diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2013-06-17 16:30:20 +0200 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2013-06-17 16:30:20 +0200 |
commit | 08fc6df8538f2a2f469f430462452dd924bfff46 (patch) | |
tree | 85bdab8e6a5ee73ed68ac89430f443fdd2dde531 /src/mod_pubsub.erl | |
parent | Fixed broadcast messages handling (diff) |
fix auto-create issue due to bad binary matching
Diffstat (limited to 'src/mod_pubsub.erl')
-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 ffe11ce1..d401382e 100644 --- a/src/mod_pubsub.erl +++ b/src/mod_pubsub.erl @@ -3036,7 +3036,7 @@ publish_item(Host, ServerHost, Node, Publisher, ItemId, Payload, Access) -> %% for automatic node creation. we'll take the default node type: %% first listed into the plugins configuration option, or pep Type = select_type(ServerHost, Host, Node), - case lists:member("auto-create", features(Type)) of + case lists:member(<<"auto-create">>, features(Type)) of true -> case create_node(Host, ServerHost, Node, Publisher, Type, Access, []) of {result, [#xmlel{name = <<"pubsub">>, |