Changeset

2336:fb1d9d2444df

Rename closeallservers to closeall in the public API (same as net.server_select) and expose setquitting
author Matthew Wild <mwild1@gmail.com>
date Mon, 07 Dec 2009 19:26:50 +0000
parents 2335:060fb67cefd5
children 2337:9eb20b3f3bbb
files net/server_event.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_event.lua	Mon Dec 07 19:26:12 2009 +0000
+++ b/net/server_event.lua	Mon Dec 07 19:26:50 2009 +0000
@@ -785,7 +785,8 @@
 	addserver = addserver,
 	addclient = addclient,
 	wrapclient = wrapclient,
-	closeallservers = closeallservers,
+	setquitting = setquitting,
+	closeall = closeallservers,
 
 	__NAME = SCRIPT_NAME,
 	__DATE = LAST_MODIFIED,