Software /
code /
prosody
Changeset
9:cb210ac67af8
remaned _ to sock to improve readability
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Mon, 25 Aug 2008 00:33:16 +0200 |
parents | 7:dcc5ac721c20 |
children | 10:a336f0082376 |
files | server.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/server.lua Sun Aug 24 22:48:27 2008 +0100 +++ b/server.lua Mon Aug 25 00:33:16 2008 +0200 @@ -553,10 +553,10 @@ end closeall = function( ) - for _, handler in pairs( socketlist ) do + for sock, handler in pairs( socketlist ) do handler.shutdown( ) handler.close( ) - socketlist[ _ ] = nil + socketlist[ sock ] = nil end writelist, readlist, socketlist = { }, { }, { } end