diff options
author | Tobias Markmann <tm@ayena.de> | 2008-08-25 00:33:16 +0200 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2008-08-25 00:33:16 +0200 |
commit | 916f6b6b3a374249e475c3ad8f7784d36b8ac1cd (patch) | |
tree | 4c003fa2798525d76b5a5cb1deead201d0199746 /server.lua | |
parent | 1a138d2e57818f585c9244a4230d7387c50777ea (diff) | |
download | prosody-916f6b6b3a374249e475c3ad8f7784d36b8ac1cd.tar.gz prosody-916f6b6b3a374249e475c3ad8f7784d36b8ac1cd.zip |
remaned _ to sock to improve readability
Diffstat (limited to 'server.lua')
-rw-r--r-- | server.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -553,10 +553,10 @@ removesocket = function( tbl, socket, len ) -- this function removes sockets 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
|