diff --git a/docs/en/modules/net.md b/docs/en/modules/net.md index f42a15ad..a7e3eed1 100644 --- a/docs/en/modules/net.md +++ b/docs/en/modules/net.md @@ -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