Skip to content

Commit

Permalink
Don't try to index into nil activeUserObject
Browse files Browse the repository at this point in the history
  • Loading branch information
xathien authored Nov 28, 2022
1 parent da2d10b commit 856ebd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ElitismHelper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1062,11 +1062,11 @@ function ElitismFrame:CHAT_MSG_ADDON(event,...)
end
end

activeUser = activeUserObject[1]

-- We are in a group but nobody is eligible...
if(activeUser == nil) then
activeUser = playerUser
else
activeUser = activeUserObject[1]
end
else
-- print("Unknown message: "..message)
Expand Down

0 comments on commit 856ebd8

Please sign in to comment.