squeeze-backports
Victor Seva 13 years ago
parent 95f48ec09c
commit 50a37883b8

@ -60,7 +60,7 @@ NGCPXAvp_MT = {
vtype = tonumber(vtype) vtype = tonumber(vtype)
end end
if vtype == 0 then if vtype == 0 then
sr.log("info",string.format("sr.pv.sets->%s:%s", id, value)) sr.log("dbg",string.format("sr.pv.sets->%s:%s", id, value))
sr.pv.sets(id, value) sr.pv.sets(id, value)
elseif vtype == 1 then elseif vtype == 1 then
if type(value) == "string" then if type(value) == "string" then
@ -76,7 +76,7 @@ NGCPXAvp_MT = {
if type(check) == 'table' then if type(check) == 'table' then
check = table.tostring(check) check = table.tostring(check)
end end
sr.log("info", string.format("%s:%s", id, check)) --sr.log("info", string.format("%s:%s", id, check))
else else
sr.log("err", string.format("%s:nil", id)) sr.log("err", string.format("%s:nil", id))
end end

Loading…
Cancel
Save