diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2010-11-09 14:32:40 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2010-11-09 14:32:40 +0100 |
commit | c31f59e326719018946be989eef70246bed92f9d (patch) | |
tree | ba64fa78f725c8e0ad402dbf3640a1e96fd05a63 /src/mod_pubsub/mod_pubsub.erl | |
parent | Correct privacy check direction in mod_last (EJAB-1339) (diff) |
fix bad plugin order issue injected in previous patch (EJAB-1286)
Diffstat (limited to 'src/mod_pubsub/mod_pubsub.erl')
-rw-r--r-- | src/mod_pubsub/mod_pubsub.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_pubsub/mod_pubsub.erl b/src/mod_pubsub/mod_pubsub.erl index 919d2c3d0..d494ebcce 100644 --- a/src/mod_pubsub/mod_pubsub.erl +++ b/src/mod_pubsub/mod_pubsub.erl @@ -269,7 +269,7 @@ init_plugins(Host, ServerHost, Opts) -> [Name | Acc] end end, [], Plugins), - {PluginsOK, TreePlugin, PepMapping}. + {lists:reverse(PluginsOK), TreePlugin, PepMapping}. terminate_plugins(Host, ServerHost, Plugins, TreePlugin) -> lists:foreach(fun(Name) -> |