diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mpd.lua | 6 | ||||
-rw-r--r-- | plugins/nut.lua | 6 | ||||
-rw-r--r-- | plugins/socks.lua | 20 |
3 files changed, 6 insertions, 26 deletions
diff --git a/plugins/mpd.lua b/plugins/mpd.lua index 27ad6b4..2f33f82 100644 --- a/plugins/mpd.lua +++ b/plugins/mpd.lua @@ -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 } diff --git a/plugins/nut.lua b/plugins/nut.lua index 44f139e..b85e7d9 100644 --- a/plugins/nut.lua +++ b/plugins/nut.lua @@ -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 } diff --git a/plugins/socks.lua b/plugins/socks.lua index acf90ff..558683c 100644 --- a/plugins/socks.lua +++ b/plugins/socks.lua @@ -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 = "SOCKS5", - flags = 0, - new_scan = Socks5.new -} +-- ponymap.register_service { name="SOCKS4A", flags=0, new_scan=Socks4A.new } + +ponymap.register_service { name="SOCKS5", flags=0, new_scan=Socks5.new } |