refactoring

This commit is contained in:
Manuel Simon Hirsig
2016-08-28 02:23:38 +02:00
parent 15e6e7409a
commit f42e54a4fc
15 changed files with 78 additions and 77 deletions
+2 -2
View File
@@ -402,7 +402,7 @@ function suggestions(components)
-- rarities
if not components.blizzard.quality then
for i=0,4 do tinsert(suggestions, _G['ITEM_QUALITY'..i..'_DESC']) end
for i = 0, 4 do tinsert(suggestions, _G['ITEM_QUALITY'..i..'_DESC']) end
end
-- item names
@@ -534,7 +534,7 @@ function validator(components)
return false
end
local stack = {}
for i=getn(components.post),1,-1 do
for i = getn(components.post), 1, -1 do
local type, name, param = unpack(components.post[i])
if type == 'operator' then
local args = {}