bugfix for autocomplete after gquit

This commit is contained in:
Manuel Simon Hirsig
2017-01-18 01:27:40 +01:00
parent eee55fad16
commit 871a2f8289
+1 -1
View File
@@ -818,7 +818,7 @@ do
local ignore = {[UnitName'player']=true}
local function process(name)
if not ignore[name] and strfind(strupper(name), strupper(input), nil, true) == 1 then
if name and not ignore[name] and strfind(strupper(name), strupper(input), nil, true) == 1 then
tinsert(matches, name)
end
ignore[name] = true