bugfix for getChannel

This commit is contained in:
Izaya 2019-12-20 02:19:35 +11:00
parent b938640625
commit effcadc915
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ local function createTunnel(host,port,addr,raddr)
return 8192 return 8192
end end
function proxy.getChannel() function proxy.getChannel()
return proxy.host..":"..tostring(port) return host..":"..tostring(port)
end end
event.listen("internet_ready",proxy.read) event.listen("internet_ready",proxy.read)
listeners[addr] = {"internet_ready",proxy.read} listeners[addr] = {"internet_ready",proxy.read}