refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-04 06:53:34 +02:00
parent 238c19a040
commit 19f42cc9c9
8 changed files with 22 additions and 23 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ do
end
function public.join(parts, separator)
local str = parts[1]
local str = parts[1] or ''
for i=2,getn(parts) do
if not parts[i] then break end
str = str..separator..parts[i]