25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

mod_pubsub: Fix node configuration changes for SQL

nodetree_tree_sql:set_node/1 returns {ok, NodeIdx} rather than 'ok' on
success.
This commit is contained in:
Holger Weiss 2016-06-06 00:18:24 +02:00
parent 60803f5780
commit 78d4200f05

View File

@ -3873,6 +3873,7 @@ set_configure(Host, Node, From, Els, Lang) ->
set_node,
[N#pubsub_node{options = NewOpts}])
of
{ok, Nidx} -> {result, ok};
ok -> {result, ok};
Err -> Err
end;