Fix sink method in tp module

This commit is contained in:
mpeterv 2016-02-11 15:56:57 +03:00
parent 700ece0721
commit 52bb99af35

View File

@ -74,7 +74,7 @@ function metat.__index:command(cmd, arg)
end
function metat.__index:sink(snk, pat)
local chunk, err = c:receive(pat)
local chunk, err = self.c:receive(pat)
return snk(chunk, err)
end