Tiny formatting fix

This commit is contained in:
Marcel Stör 2016-12-25 16:10:31 +01:00
parent feab8b2208
commit 7c9fdef77a
1 changed files with 2 additions and 2 deletions

View File

@ -316,8 +316,8 @@ function receiver(sck, data)
-- sends and removes the first element from the 'response' table
local function send(localSocket)
if #response > 0
then localSocket:send(table.remove(response, 1))
if #response > 0 then
localSocket:send(table.remove(response, 1))
else
localSocket:close()
response = nil