aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Khramtsov <xramtsov@gmail.com>2014-08-21 13:29:55 +0400
committerEvgeny Khramtsov <xramtsov@gmail.com>2014-08-21 13:29:55 +0400
commit8e3a49d369769ddd9636b16cf33ebf9bfedec404 (patch)
tree60569a11d99fbad28431653fee8056036a08a151
parentMerge pull request #284 from weiss/infinity-vs-unlimited (diff)
parentfix 404 on pep first publishing with odbc (diff)
Merge pull request #286 from vesvalo/fix_pep_odbc_publishing
fix 404 on pep first publishing with odbc
Diffstat (limited to '')
-rw-r--r--src/mod_pubsub_odbc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub_odbc.erl b/src/mod_pubsub_odbc.erl
index a5e05a8d7..53329d332 100644
--- a/src/mod_pubsub_odbc.erl
+++ b/src/mod_pubsub_odbc.erl
@@ -2315,7 +2315,7 @@ create_node(Host, ServerHost, Node, Owner, GivenType, Access, Configuration) ->
{result, Reply};
{result, {NodeId, _SubsByDepth, Result}} ->
ejabberd_hooks:run(pubsub_create_node, ServerHost, [ServerHost, Host, Node, NodeId, NodeOptions]),
- {result, Result};
+ {result, Reply};
Error ->
%% in case we change transaction to sync_dirty...
%% node_call(Type, delete_node, [Host, Node]),