Skip to content

Commit 964e8c7

Browse files
committed
Fix BNet whispers erroring when initiated from friends datatext
1 parent b025628 commit 964e8c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ElvUI_SLE/modules/datatexts/friends.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ local UnitInRaid = UnitInRaid
2222
local C_FriendList_GetNumFriends = C_FriendList.GetNumFriends
2323
local C_FriendList_GetNumOnlineFriends = C_FriendList.GetNumOnlineFriends
2424
local C_FriendList_GetFriendInfoByIndex = C_FriendList.GetFriendInfoByIndex
25-
local ChatFrame_SendBNetTell = ChatFrame_SendBNetTell
25+
local ChatFrameUtil_SendBNetTell = ChatFrameUtil.SendBNetTell
2626
local InCombatLockdown = InCombatLockdown
2727
local C_BattleNet_GetFriendAccountInfo = C_BattleNet.GetFriendAccountInfo
2828
local C_BattleNet_GetFriendNumGameAccounts = C_BattleNet.GetFriendNumGameAccounts
@@ -342,7 +342,7 @@ local function Entry_OnMouseUp(self, info, button)
342342
end
343343

344344
if i_type == "realid" then
345-
ChatFrame_SendBNetTell(accountName)
345+
ChatFrameUtil_SendBNetTell(accountName)
346346
else
347347
SetItemRef( "player:"..name, format("|Hplayer:%1$s|h[%1$s]|h",name), "LeftButton" )
348348
end

0 commit comments

Comments
 (0)