]> granicus.if.org Git - ejabberd/commitdiff
fix nodetree plugin resolver
authorChristophe Romain <christophe.romain@process-one.net>
Thu, 19 Feb 2009 11:24:26 +0000 (11:24 +0000)
committerChristophe Romain <christophe.romain@process-one.net>
Thu, 19 Feb 2009 11:24:26 +0000 (11:24 +0000)
SVN Revision: 1888

ChangeLog
src/mod_pubsub/mod_pubsub.erl

index c8c2c575e6edede3b6668c63a506029d7f9f20a5..a9a394c74063effdf432459c1485476b3c3bcb99 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-19  Christophe Romain <christophe.romain@process-one.net>
+
+       * src/mod_pubsub/mod_pubsub.erl: fix nodetree plugin resolver
+
 2009-02-13  Christophe Romain <christophe.romain@process-one.net>
 
        * src/ejabberd_auth.erl: prevent from calling
index 463922e5d14267125aa13855ffe130365206c9a2..21286dd37d9e4ab225649991a5b19f0772ce4850 100644 (file)
@@ -2698,7 +2698,7 @@ tree_call({_User, Server, _Resource}, Function, Args) ->
 tree_call(Host, Function, Args) ->
     Module = case ets:lookup(gen_mod:get_module_proc(Host, pubsub_state), nodetree) of
        [{nodetree, N}] -> N;
-       _ -> list_to_atom(?TREE_PREFIX ++ ?STDNODE)
+       _ -> list_to_atom(?TREE_PREFIX ++ ?STDTREE)
     end,
     catch apply(Module, Function, Args).
 tree_action(Host, Function, Args) ->