Diff

plugins/mod_s2s/mod_s2s.lua @ 7100:301d58705667

mod_c2s, mod_s2s: Lower priority of session shutdown to negative, so that plugins hooking at the default priority run first (fixes #601)
author Kim Alvefur <zash@zash.se>
date Tue, 26 Jan 2016 00:28:07 +0100
parent 6684:53635a91c95c
child 7101:f83211f4d776
child 7677:8613086779fa
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Fri Jan 22 02:00:43 2016 +0100
+++ b/plugins/mod_s2s/mod_s2s.lua	Tue Jan 26 00:28:07 2016 +0100
@@ -671,7 +671,7 @@
 	for _, session in pairs(sessions) do
 		session:close{ condition = "system-shutdown", text = reason };
 	end
-end,500);
+end, -200);