diff --git a/AceComm-3.0/AceComm-3.0.lua b/AceComm-3.0/AceComm-3.0.lua index 60d72d9..434795d 100644 --- a/AceComm-3.0/AceComm-3.0.lua +++ b/AceComm-3.0/AceComm-3.0.lua @@ -20,7 +20,7 @@ TODO: Time out old data rotting around from dead senders? Not a HUGE deal since local CallbackHandler = LibStub("CallbackHandler-1.0") local CTL = assert(ChatThrottleLib, "AceComm-3.0 requires ChatThrottleLib") -local MAJOR, MINOR = "AceComm-3.0", 12 +local MAJOR, MINOR = "AceComm-3.0", 13 local AceComm,oldminor = LibStub:NewLibrary(MAJOR, MINOR) if not AceComm then return end @@ -97,8 +97,8 @@ function AceComm:SendCommMessage(prefix, text, distribution, target, prio, callb local ctlCallback = nil if callbackFn then - ctlCallback = function(sent) - return callbackFn(callbackArg, sent, textlen) + ctlCallback = function(sent, sendResult) + return callbackFn(callbackArg, sent, textlen, sendResult) end end