Фикс для совместимости с lua 5.1 на debian master
authorRoman Bazalevskiy <rvb@rvb.name>
Fri, 29 Dec 2017 21:43:13 +0000 (00:43 +0300)
committerRoman Bazalevskiy <rvb@rvb.name>
Fri, 29 Dec 2017 21:43:13 +0000 (00:43 +0300)
mpd.lua

diff --git a/mpd.lua b/mpd.lua
index 93dab215f13fc52f81f24a423af1876b583331df..c8ea77858bebca8ab7189dca8477cea5944e6c1b 100755 (executable)
--- a/mpd.lua
+++ b/mpd.lua
@@ -2,7 +2,7 @@
 
 local hasuci,uci = pcall(require,"uci")
 
-require("socket")
+socket=require("socket")
 json=require("json")
 
 function url_decode(str)