From: Roman Bazalevskiy Date: Fri, 29 Dec 2017 21:43:13 +0000 (+0300) Subject: Фикс для совместимости с lua 5.1 на debian X-Git-Url: https://git.rvb.name/mpd-lua.git/commitdiff_plain?ds=sidebyside Фикс для совместимости с lua 5.1 на debian --- diff --git a/mpd.lua b/mpd.lua index 93dab21..c8ea778 100755 --- 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)