Fix for r4322
@@ -1885,12 +1885,8 @@
local msg
for k, v in pairs(autoRespondSpam) do
msg = msg or chatPrefixShort..DBM_CORE_WHISPER_COMBAT_END_KILL:format(UnitName("player"), (mod.combatInfo.name or ""))
- if type(k) == "string" then
- SendChatMessage(msg, "WHISPER", nil, k)
- elseif type(k) == "number" then
- BNSendWhisper(k, msg)
+ sendWhisper(k, msg)
end
- end
fireEvent("kill", mod)
end
table.wipe(autoRespondSpam)