Browse Source

Tiny formatting fix

Marcel Stör 7 years ago
parent
commit
7c9fdef77a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/en/modules/net.md

+ 2 - 2
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