# HG changeset patch # User Kim Alvefur # Date 1522949691 -7200 # Node ID fbb6751dbe856837d567eb1e8e8f10fd613d3a2e # Parent ced09d7d7c96b419f405e396343bf286f54bc39d prosody: Get net.server via requre to avoid relying on globals diff -r ced09d7d7c96 -r fbb6751dbe85 prosody --- a/prosody Sat Mar 24 18:27:34 2018 +0100 +++ b/prosody Thu Apr 05 19:34:51 2018 +0200 @@ -75,6 +75,7 @@ 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);