Fix sink method in tp module
This commit is contained in:
parent
700ece0721
commit
52bb99af35
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue