projects
/
mpd-lua.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Фикс для совместимости с lua 5.1 на debian
[mpd-lua.git]
/
mpd.lua
diff --git
a/mpd.lua
b/mpd.lua
index f421b755ba9d0aa817d2dc5ce4f4e721d0f71bbc..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)
@@
-207,8
+207,6
@@
function mpd_send(mpd,action,raw)
return values
end
-hasuci = false
-
if hasuci then
x = uci.cursor()