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