aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_select.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-07-02 17:23:17 +0100
committerMatthew Wild <mwild1@gmail.com>2010-07-02 17:23:17 +0100
commit10f55df529fb4c31f847cb5c5abef446432f783c (patch)
tree38f2ccfe13ca3ef87f95e043984291d5becda2c2 /net/server_select.lua
parente3fa34385a62ab5c71f740d999c9ec38cc3e5429 (diff)
downloadprosody-10f55df529fb4c31f847cb5c5abef446432f783c.tar.gz
prosody-10f55df529fb4c31f847cb5c5abef446432f783c.zip
net.server_select: Fix a snippet of code that was living at the wrong indentation level
Diffstat (limited to 'net/server_select.lua')
-rw-r--r--net/server_select.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/server_select.lua b/net/server_select.lua
index e3a389a8..4eb82b97 100644
--- a/net/server_select.lua
+++ b/net/server_select.lua
@@ -343,9 +343,9 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport
_closelist[ handler ] = nil
handler = nil
end
- if server then
- server.remove( )
- end
+ if server then
+ server.remove( )
+ end
out_put "server.lua: closed client handler and removed socket from list"
return true
end