From df1fcaf9f66cdee2a9e3cfa51e533da1f8da188b Mon Sep 17 00:00:00 2001 From: rxi Date: Fri, 11 Apr 2014 18:54:52 +0100 Subject: [PATCH] Fixed req being set to an empty table twice in .onConnect() --- lovebird.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lovebird.lua b/lovebird.lua index c203ec8..f69cae4 100644 --- a/lovebird.lua +++ b/lovebird.lua @@ -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()