Software /
code /
prosody
Comparison
plugins/mod_s2s/mod_s2s.lua @ 7101:f83211f4d776
Merge 0.9->0.10
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 26 Jan 2016 14:15:00 +0100 |
parent | 6901:ccc452767ec6 |
parent | 7100:301d58705667 |
child | 7102:250016f5eb7e |
child | 7277:7be7108cb6ed |
comparison
equal
deleted
inserted
replaced
7098:5286e79c6829 | 7101:f83211f4d776 |
---|---|
678 module:hook("server-stopping", function(event) | 678 module:hook("server-stopping", function(event) |
679 local reason = event.reason; | 679 local reason = event.reason; |
680 for _, session in pairs(sessions) do | 680 for _, session in pairs(sessions) do |
681 session:close{ condition = "system-shutdown", text = reason }; | 681 session:close{ condition = "system-shutdown", text = reason }; |
682 end | 682 end |
683 end,500); | 683 end, -200); |
684 | 684 |
685 | 685 |
686 | 686 |
687 module:provides("net", { | 687 module:provides("net", { |
688 name = "s2s"; | 688 name = "s2s"; |