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/HEAD?ds=inline;hp=a6ed8a7147edc7635b3f59aea32fe506e5fe2302 Фикс для совместимости с 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)