Fix sink method in tp module

master
mpeterv 2016-02-11 15:56:57 +03:00
parent 700ece0721
commit 52bb99af35
1 changed files with 1 additions and 1 deletions

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