Skip to content

Commit

Permalink
Remove unnecessary ChatThrottleLib usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Sep 30, 2016
1 parent 007c446 commit c3b411c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/Consumables.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ local UnitIsUnit, IsInGroup, IsInRaid, IsInInstance = UnitIsUnit, IsInGroup, IsI
local UnitBuff, UnitName, UnitIsConnected, UnitIsVisible = UnitBuff, UnitName, UnitIsConnected, UnitIsVisible
local GetTime, UnitIsDeadOrGhost = GetTime, UnitIsDeadOrGhost

--luacheck: globals oRA3CheckButton ChatFrame_AddMessageEventFilter ChatThrottleLib
--luacheck: globals oRA3CheckButton ChatFrame_AddMessageEventFilter

local GROUP_CHECK_THROTTLE = 0.8
local PLAYER_CHECK_THROTTLE = 0.3
Expand Down Expand Up @@ -315,7 +315,7 @@ do
end)

local function send(name, text)
ChatThrottleLib:SendChatMessage("BULK", "oRA", ("oRA3> %s"):format(text), "WHISPER", nil, name)
SendChatMessage(("oRA3> %s"):format(text), "WHISPER", nil, name)
end
local function whisper(name, text)
module:ScheduleTimer(send, 0.2, name, text) -- send after print spam
Expand Down
2 changes: 1 addition & 1 deletion oRA3.toc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
## X-WoWI-ID: 14635

## SavedVariables: oRA3DB
## OptionalDeps: Ace3, LibCandyBar-3.0, LibSharedMedia-3.0, LibDDI-1.0, LibGroupInSpecT-1.1, LibDualSpec-1.0, LibChatAnims, LibLatency, LibDurability, LibDialog-1.0, Masque, ChatThrottleLib
## OptionalDeps: Ace3, LibCandyBar-3.0, LibSharedMedia-3.0, LibDDI-1.0, LibGroupInSpecT-1.1, LibDualSpec-1.0, LibChatAnims, LibLatency, LibDurability, LibDialog-1.0, Masque

libs.xml

Expand Down

0 comments on commit c3b411c

Please sign in to comment.