mirror of
https://github.com/rxi/lovebird.git
synced 2024-11-27 12:04:21 +00:00
Fixed req being set to an empty table twice in .onConnect()
This commit is contained in:
parent
bfda0c207b
commit
df1fcaf9f6
@ -245,7 +245,6 @@ function lovebird.onConnect(client)
|
||||
-- Create request table
|
||||
local requestptn = "(%S*)%s*(%S*)%s*(%S*)"
|
||||
local req = {}
|
||||
req = {}
|
||||
req.socket = client
|
||||
req.addr, req.port = client:getsockname()
|
||||
req.request = client:receive()
|
||||
|
Loading…
Reference in New Issue
Block a user