Software /
code /
prosody
Diff
server.lua @ 9:cb210ac67af8
remaned _ to sock to improve readability
author | Tobias Markmann <tm@ayena.de> |
---|---|
date | Mon, 25 Aug 2008 00:33:16 +0200 |
parent | 1:b8787e859fd2 |
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