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 | f5d695c1513f83731fac154c397b602fa121a770 (patch) | |
tree | 19056d85abab9aeff6d74893bed72f56f950888e /prosody | |
parent | f1254ad1494df964cdbf3a5d6641fe857fb1055b (diff) | |
download | prosody-f5d695c1513f83731fac154c397b602fa121a770.tar.gz prosody-f5d695c1513f83731fac154c397b602fa121a770.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); |