aboutsummaryrefslogtreecommitdiff
path: root/plugins/socks.lua
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-13 06:57:06 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-13 06:57:06 +0200
commitde4009fb4de679b2efe89e2736436060eb4a8e6d (patch)
tree295e3f632b2f9efdd858904b851602c5d77ef96e /plugins/socks.lua
parentb2cc2709c6fcf8d3fdc123e6d926be2d02c1221f (diff)
downloadponymap-de4009fb4de679b2efe89e2736436060eb4a8e6d.tar.gz
ponymap-de4009fb4de679b2efe89e2736436060eb4a8e6d.tar.xz
ponymap-de4009fb4de679b2efe89e2736436060eb4a8e6d.zip
Aborting units -> stopping units
Diffstat (limited to 'plugins/socks.lua')
-rw-r--r--plugins/socks.lua4
1 files changed, 2 insertions, 2 deletions
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