Skip to content

Commit

Permalink
modules/Consumables: Remove outgoing whisper filter as the user shoul…
Browse files Browse the repository at this point in the history
…d always be aware when an addon is sending outgoing messages.
  • Loading branch information
funkydude committed Aug 1, 2019
1 parent cb329ef commit 5be4e29
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/Consumables.lua
Original file line number Diff line number Diff line change
Expand Up @@ -371,10 +371,6 @@ end
-- Output Results

do
ChatFrame_AddMessageEventFilter("CHAT_MSG_WHISPER_INFORM", function(self, event, msg)
if msg:sub(1, 5) == "oRA3>" then return true end
end)

local function send(name, text)
SendChatMessage(("oRA3> %s"):format(text), "WHISPER", nil, name)
end
Expand Down

0 comments on commit 5be4e29

Please sign in to comment.