Fixed req being set to an empty table twice in .onConnect()

This commit is contained in:
rxi 2014-04-11 18:54:52 +01:00
parent bfda0c207b
commit df1fcaf9f6

View File

@ -245,7 +245,6 @@ function lovebird.onConnect(client)
-- Create request table -- Create request table
local requestptn = "(%S*)%s*(%S*)%s*(%S*)" local requestptn = "(%S*)%s*(%S*)%s*(%S*)"
local req = {} local req = {}
req = {}
req.socket = client req.socket = client
req.addr, req.port = client:getsockname() req.addr, req.port = client:getsockname()
req.request = client:receive() req.request = client:receive()