Make Lua even greater
This commit is contained in:
parent
c353117c0c
commit
54ec44b6b5
|
@ -38,8 +38,4 @@ function MPD:on_data (data)
|
|||
end
|
||||
end
|
||||
|
||||
ponymap.register_service {
|
||||
name = "MPD",
|
||||
flags = 0,
|
||||
new_scan = MPD.new
|
||||
}
|
||||
ponymap.register_service { name="MPD", flags=0, new_scan=MPD.new }
|
||||
|
|
|
@ -76,8 +76,4 @@ function NUT:on_data (data)
|
|||
self.unit:stop ()
|
||||
end
|
||||
|
||||
ponymap.register_service {
|
||||
name = "NUT",
|
||||
flags = 0,
|
||||
new_scan = NUT.new
|
||||
}
|
||||
ponymap.register_service { name="NUT", flags=0, new_scan=NUT.new }
|
||||
|
|
|
@ -81,21 +81,9 @@ end
|
|||
|
||||
-- Register everything
|
||||
|
||||
ponymap.register_service {
|
||||
name = "SOCKS4",
|
||||
flags = 0,
|
||||
new_scan = Socks4.new
|
||||
}
|
||||
ponymap.register_service { name="SOCKS4", flags=0, new_scan=Socks4.new }
|
||||
|
||||
-- At the moment this is nearly useless
|
||||
-- ponymap.register_service {
|
||||
-- name = "SOCKS4A",
|
||||
-- flags = 0,
|
||||
-- new_scan = Socks4A.new
|
||||
-- }
|
||||
-- ponymap.register_service { name="SOCKS4A", flags=0, new_scan=Socks4A.new }
|
||||
|
||||
ponymap.register_service {
|
||||
name = "SOCKS5",
|
||||
flags = 0,
|
||||
new_scan = Socks5.new
|
||||
}
|
||||
ponymap.register_service { name="SOCKS5", flags=0, new_scan=Socks5.new }
|
||||
|
|
Loading…
Reference in New Issue