Skip to content

Commit

Permalink
Reverted breaking change made to the Utility:TryNotifyGuild functio…
Browse files Browse the repository at this point in the history
…n in which it wasn't checking if the online guild member also had the addon
  • Loading branch information
okdecm committed Dec 15, 2020
1 parent 09de4d6 commit 320a17a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Utility.lua
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function Utility:TryNotifyGuild(whoHasAddon, message, isGuildMemberEligiblePredi
local name, _, _, _, _, zone, _, _, online, _, _, _, _, isMobile = GetGuildRosterInfo(i);

-- If guild member is online and has addon installed
if (name and online and not isMobile) then
if (name and online and whoHasAddon[name] and not isMobile) then
local isEligible = true;

if(type(isGuildMemberEligiblePredicateFunction) == "function") then
Expand Down

0 comments on commit 320a17a

Please sign in to comment.