Comparison

plugins/mod_s2s/mod_s2s.lua @ 7102:250016f5eb7e

Merge 0.10->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 26 Jan 2016 14:15:38 +0100
parent 6905:0e81e3dab896
parent 7101:f83211f4d776
child 7278:1891854b25ac
comparison
equal deleted inserted replaced
7099:8e64e7b82928 7102:250016f5eb7e
681 module:hook("server-stopping", function(event) 681 module:hook("server-stopping", function(event)
682 local reason = event.reason; 682 local reason = event.reason;
683 for _, session in pairs(sessions) do 683 for _, session in pairs(sessions) do
684 session:close{ condition = "system-shutdown", text = reason }; 684 session:close{ condition = "system-shutdown", text = reason };
685 end 685 end
686 end,500); 686 end, -200);
687 687
688 688
689 689
690 module:provides("net", { 690 module:provides("net", {
691 name = "s2s"; 691 name = "s2s";