Make Lua even greater

This commit is contained in:
Přemysl Eric Janouch 2017-01-29 22:52:22 +01:00
parent c353117c0c
commit 54ec44b6b5
Signed by: p
GPG Key ID: B715679E3A361BE6
3 changed files with 5 additions and 25 deletions

View File

@ -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 }

View File

@ -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 }

View File

@ -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 }