diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2017-01-29 20:56:27 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2017-01-29 20:56:27 +0100 |
commit | aceeb3f4c917076138b9efd8696afa94d00f6832 (patch) | |
tree | 19d7d4a69f97de83130c1e3c5f1288394028ca6a /plugins/socks.lua | |
parent | 3b3cf82a751d6cca153064f7a933cef2a45a725d (diff) | |
download | ponymap-aceeb3f4c917076138b9efd8696afa94d00f6832.tar.gz ponymap-aceeb3f4c917076138b9efd8696afa94d00f6832.tar.xz ponymap-aceeb3f4c917076138b9efd8696afa94d00f6832.zip |
Make Lua code great again
Diffstat (limited to 'plugins/socks.lua')
-rw-r--r-- | plugins/socks.lua | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/socks.lua b/plugins/socks.lua index ed07eff..acf90ff 100644 --- a/plugins/socks.lua +++ b/plugins/socks.lua @@ -81,21 +81,21 @@ end -- Register everything -ponymap.register_service ({ +ponymap.register_service { name = "SOCKS4", flags = 0, new_scan = Socks4.new -}) +} -- At the moment this is nearly useless --- ponymap.register_service ({ +-- ponymap.register_service { -- name = "SOCKS4A", -- flags = 0, -- new_scan = Socks4A.new --- }) +-- } -ponymap.register_service ({ +ponymap.register_service { name = "SOCKS5", flags = 0, new_scan = Socks5.new -}) +} |