Skip to content

Commit dadf4c5

Browse files
author
Sumsebrum
committed
update libs for 4.4.1
1 parent 27f0276 commit dadf4c5

File tree

14 files changed

+646
-708
lines changed

14 files changed

+646
-708
lines changed

Libs/AceComm-3.0/AceComm-3.0.lua

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
-- make into AceComm.
1010
-- @class file
1111
-- @name AceComm-3.0
12-
-- @release $Id: AceComm-3.0.lua 1284 2022-09-25 09:15:30Z nevcairiel $
12+
-- @release $Id: AceComm-3.0.lua 1333 2024-05-05 16:24:39Z nevcairiel $
1313

1414
--[[ AceComm-3.0
1515
@@ -20,7 +20,7 @@ TODO: Time out old data rotting around from dead senders? Not a HUGE deal since
2020
local CallbackHandler = LibStub("CallbackHandler-1.0")
2121
local CTL = assert(ChatThrottleLib, "AceComm-3.0 requires ChatThrottleLib")
2222

23-
local MAJOR, MINOR = "AceComm-3.0", 12
23+
local MAJOR, MINOR = "AceComm-3.0", 14
2424
local AceComm,oldminor = LibStub:NewLibrary(MAJOR, MINOR)
2525

2626
if not AceComm then return end
@@ -93,12 +93,12 @@ function AceComm:SendCommMessage(prefix, text, distribution, target, prio, callb
9393

9494
local textlen = #text
9595
local maxtextlen = 255 -- Yes, the max is 255 even if the dev post said 256. I tested. Char 256+ get silently truncated. /Mikk, 20110327
96-
local queueName = prefix..distribution..(target or "")
96+
local queueName = prefix
9797

9898
local ctlCallback = nil
9999
if callbackFn then
100-
ctlCallback = function(sent)
101-
return callbackFn(callbackArg, sent, textlen)
100+
ctlCallback = function(sent, sendResult)
101+
return callbackFn(callbackArg, sent, textlen, sendResult)
102102
end
103103
end
104104

0 commit comments

Comments
 (0)