Software /
code /
prosody
Changeset
5454:5f69fddf6fb9
mod_s2s: Adjust priority of route/remote hooks to negative values (like most other internal hooks)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 08 Apr 2013 22:42:38 +0200 |
parents | 5452:edf3db386a19 |
children | 5455:16493e410fa8 5456:87204440b9dd 5458:84162b81c863 |
files | plugins/mod_s2s/mod_s2s.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua Mon Apr 08 17:21:16 2013 +0100 +++ b/plugins/mod_s2s/mod_s2s.lua Mon Apr 08 22:42:38 2013 +0200 @@ -140,8 +140,8 @@ module:log("warn", "The 'disallow_s2s' config option is deprecated, please see http://prosody.im/doc/s2s#disabling"); return nil, "This host has disallow_s2s set"; end - module:hook("route/remote", route_to_existing_session, 200); - module:hook("route/remote", route_to_new_session, 100); + module:hook("route/remote", route_to_existing_session, -1); + module:hook("route/remote", route_to_new_session, -10); module:hook("s2s-authenticated", make_authenticated, -1); end