mirror of https://github.com/kepler155c/opus
oops
This commit is contained in:
parent
0a42551ab7
commit
5f153721ea
|
@ -60,7 +60,7 @@ local function sambaConnection(socket)
|
||||||
end
|
end
|
||||||
|
|
||||||
local function sanitizeLabel(computer)
|
local function sanitizeLabel(computer)
|
||||||
return (computer.id.."_"..computer.label:gsub("[%c%.\"'/%*]", "")):sub(64)
|
return (computer.id.."_"..computer.label:gsub("[%c%.\"'/%*]", "")):sub(1, 40)
|
||||||
end
|
end
|
||||||
|
|
||||||
Event.addRoutine(function()
|
Event.addRoutine(function()
|
||||||
|
|
Loading…
Reference in New Issue