Tiny bug in forward.lua

This commit is contained in:
Diego Nehab 2005-03-11 02:27:59 +00:00
parent 6dc9c1096a
commit e7b7c36aea
2 changed files with 5 additions and 2 deletions

View file

@ -162,7 +162,10 @@ print("starting to foward", who)
elseif snd_err ~= "timeout" then return kick(who) end
end
-- if we are done receiving, we are done
if not rec_err then return kick(who) end
if not rec_err then
kick(who)
kick(peer)
end
end
end