Software /
code /
prosody
Diff
net/server_select.lua @ 4808:07d0a3a75c8a
net.server, net.timer, net.server_select: Rearrange dependencies between these three modules. server.addtimer() is no longer a public function (renamed to _addtimer) and is not available at all from server_event (compat code removed to prevent traceback) (thanks Nulani)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 03 May 2012 16:48:34 +0100 |
parent | 4675:80f2d952d4c5 |
child | 4888:c3e17766aead |
line wrap: on
line diff
--- a/net/server_select.lua Wed May 02 18:21:47 2012 +0100 +++ b/net/server_select.lua Thu May 03 16:48:34 2012 +0100 @@ -75,7 +75,6 @@ local loop local stats local idfalse -local addtimer local closeall local addsocket local addserver @@ -921,6 +920,7 @@ ----------------------------------// PUBLIC INTERFACE //-- return { + _addtimer = addtimer, addclient = addclient, wrapclient = wrapclient, @@ -930,7 +930,6 @@ step = step, stats = stats, closeall = closeall, - addtimer = addtimer, addserver = addserver, getserver = getserver, setlogger = setlogger,