From 871a2f8289758cc4789fd6c59955a69c7f7ea41d Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Wed, 18 Jan 2017 01:27:40 +0100 Subject: [PATCH] bugfix for autocomplete after gquit --- Postal.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Postal.lua b/Postal.lua index 96e81bf..2bd129f 100644 --- a/Postal.lua +++ b/Postal.lua @@ -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