aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-07 19:26:50 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-07 19:26:50 +0000
commit0ec240d5e317f2bd29c52fceaf025b3d73df1ec0 (patch)
treec5527b0f08a1d5084643389f4a7cc2c952319f61
parent7afd141b8502a89347d049f9bd9179b2fa2737e5 (diff)
downloadprosody-0ec240d5e317f2bd29c52fceaf025b3d73df1ec0.tar.gz
prosody-0ec240d5e317f2bd29c52fceaf025b3d73df1ec0.zip
Rename closeallservers to closeall in the public API (same as net.server_select) and expose setquitting
-rw-r--r--net/server_event.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index 1a073586..b9bb5129 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -785,7 +785,8 @@ return {
addserver = addserver,
addclient = addclient,
wrapclient = wrapclient,
- closeallservers = closeallservers,
+ setquitting = setquitting,
+ closeall = closeallservers,
__NAME = SCRIPT_NAME,
__DATE = LAST_MODIFIED,