Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #4754

Merged
merged 1 commit into from
Dec 10, 2023
Merged

fix #4754

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -2832,6 +2832,7 @@ globals = {
"IsFlying",
"IsGMClient",
"IsGuildLeader",
"IsGuildMember",
"IsGuildRankAssignmentAllowed",
"IsHarmfulItem",
"IsHarmfulSpell",
Expand Down
3 changes: 2 additions & 1 deletion WeakAuras/Transmission.lua
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ local function filterFunc(_, event, msg, player, l, cs, t, flag, channelId, ...)
until(done)
if newMsg ~= "" then
local trimmedPlayer = Ambiguate(player, "none")
if event == "CHAT_MSG_WHISPER" and not UnitInRaid(trimmedPlayer) and not UnitInParty(trimmedPlayer) then -- XXX: Need a guild check
local guid = select(5, ...)
if event == "CHAT_MSG_WHISPER" and not UnitInRaid(trimmedPlayer) and not UnitInParty(trimmedPlayer) and not (IsGuildMember and IsGuildMember(guid)) then
local _, num = BNGetNumFriends()
for i=1, num do
if C_BattleNet then -- introduced in 8.2.5 PTR
Expand Down