mirror of
https://github.com/lunarmodules/luasocket.git
synced 2025-07-13 06:04:31 +02:00
Previous bug fix caused a new bug. :o/
This commit is contained in:
@ -13,6 +13,7 @@ while 1 do
|
||||
-- control:setoption("nodelay", true)
|
||||
while 1 do
|
||||
command, error = control:receive()
|
||||
print(error)
|
||||
if error then
|
||||
control:close()
|
||||
print("server: closing connection...")
|
||||
@ -24,6 +25,7 @@ while 1 do
|
||||
print("server: closing connection...")
|
||||
break
|
||||
end
|
||||
print(command);
|
||||
(loadstring(command))()
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user