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

fix bad plugin order issue injected in previous patch (EJAB-1286)

This commit is contained in:
Christophe Romain 2010-11-09 14:32:40 +01:00
parent 7c2b9eaf97
commit c31f59e326

View File

@ -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) ->