Previous bug fix caused a new bug. :o/

This commit is contained in:
Diego Nehab 2004-05-28 07:38:12 +00:00
parent c98dc99199
commit 84f03fda7c
3 changed files with 18 additions and 13 deletions

View file

@ -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