diff --git a/sync.lua b/sync.lua index 898c2d1..463407b 100644 --- a/sync.lua +++ b/sync.lua @@ -21,7 +21,7 @@ local function Encode(c) end function AA.Send(msg) - if AA.db and AA.db.noChat then return end + if not (AA.db and AA.db.chat) then return end if IsInGuild and IsInGuild() then SendAddonMessage(AA.PREFIX, msg, "GUILD") end if GetNumRaidMembers() > 0 then SendAddonMessage(AA.PREFIX, msg, "RAID")