diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-12-07 19:26:50 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-12-07 19:26:50 +0000 |
commit | 0ec240d5e317f2bd29c52fceaf025b3d73df1ec0 (patch) | |
tree | c5527b0f08a1d5084643389f4a7cc2c952319f61 /net | |
parent | 7afd141b8502a89347d049f9bd9179b2fa2737e5 (diff) | |
download | prosody-0ec240d5e317f2bd29c52fceaf025b3d73df1ec0.tar.gz prosody-0ec240d5e317f2bd29c52fceaf025b3d73df1ec0.zip |
Rename closeallservers to closeall in the public API (same as net.server_select) and expose setquitting
Diffstat (limited to 'net')
-rw-r--r-- | net/server_event.lua | 3 |
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, |