Skip to content

Commit

Permalink
Merge pull request #55 from xathien/master
Browse files Browse the repository at this point in the history
Don't try to index into nil activeUserObject
  • Loading branch information
Niiree authored Nov 29, 2022
2 parents 458f3c2 + 856ebd8 commit c377edb
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 c377edb

Please sign in to comment.