Previous bug fix caused a new bug. :o/
This commit is contained in:
parent
c98dc99199
commit
84f03fda7c
3 changed files with 18 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue