Changeset

1534:f2dd7ac89470

Merge with 0.5
author Matthew Wild <mwild1@gmail.com>
date Sun, 12 Jul 2009 14:34:02 +0100
parents 1532:9150aeca9755 (current diff) 1533:8c13be7aa9f0 (diff)
children 1539:30ebb38573b7
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/net/server.lua	Sun Jul 12 02:08:59 2009 +0100
+++ b/net/server.lua	Sun Jul 12 14:34:02 2009 +0100
@@ -530,7 +530,7 @@
                     end
                 end
                 disconnect( handler, "ssl handshake failed" )
-                handler.close( true )    -- forced disconnect
+                _ = handler and handler.close( true )    -- forced disconnect
                 return false    -- handshake failed
             end
         )