diff options
author | Kim Alvefur <zash@zash.se> | 2018-04-05 19:34:51 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-04-05 19:34:51 +0200 |
commit | ecf466762645c971f0205582d84481474caa1c4e (patch) | |
tree | 19056d85abab9aeff6d74893bed72f56f950888e /prosody | |
parent | c44df11dd4486e0f12b586e917b87eba751162c2 (diff) | |
download | prosody-ecf466762645c971f0205582d84481474caa1c4e.tar.gz prosody-ecf466762645c971f0205582d84481474caa1c4e.zip |
prosody: Get net.server via requre to avoid relying on globals
Diffstat (limited to 'prosody')
-rwxr-xr-x | prosody | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -75,6 +75,7 @@ local function loop() end local sleep = require"socket".sleep; + local server = require "net.server"; while select(2, xpcall(server.loop, catch_uncaught_error)) ~= "quitting" do sleep(0.2); |