From de4009fb4de679b2efe89e2736436060eb4a8e6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Wed, 13 May 2015 06:57:06 +0200 Subject: Aborting units -> stopping units --- plugins/socks.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/socks.lua') diff --git a/plugins/socks.lua b/plugins/socks.lua index 364eb48..ed07eff 100644 --- a/plugins/socks.lua +++ b/plugins/socks.lua @@ -38,7 +38,7 @@ function Socks4:on_data (data) if null == 0 and code >= 90 and code <= 93 then self.unit:set_success (true) end - self.unit:abort () + self.unit:stop () end end @@ -75,7 +75,7 @@ function Socks5:on_data (data) end self.unit:set_success (true) end - self.unit:abort () + self.unit:stop () end end -- cgit v1.2.3