IrcDirk / Carbonite-Classic

Carbonite + Modules for WoW Classic
https://www.curseforge.com/wow/addons/carbonite-classic
GNU General Public License v3.0
51 stars 23 forks source link

Adding pals to friendlist fails in WOTLK #273

Closed Termalator closed 1 year ago

Termalator commented 1 year ago

If i try to add a pal to a friendlist (make red to friend) i am getting this:

2x [string "AddFriend ("XXXX-XXXX")"]:1: attempt to call global 'AddFriend' (a nil value) [string "AddFriend ("XXXX-XXXX")"]:1: in main chunk [string "=[C]"]: in functionRunScript' [string "@FrameXML\ChatFrame.lua"]:2196: in function ?' [string "@FrameXML\ChatFrame.lua"]:4933: in functionChatEdit_ParseText' [string "@FrameXML\ChatFrame.lua"]:4596: in function ChatEdit_SendText' [string "@FrameXML\ChatFrame.lua"]:4632: in functionChatEdit_OnEnterPressed'

Locals: (temporary) = nil (temporary) = "XXXX-XXXX" (*temporary) = "attempt to call global 'AddFriend' (a nil value)" `

i fixed it by changing all "AddFriend" in ~/Carbonite.Social/NxSocial.lua to "C_FriendList.AddFriend".

IrcDirk commented 1 year ago

Wil fix that soon. Thanks for the report.

Termalator commented 1 year ago

Thank you :)

IrcDirk commented 1 year ago

Should be fixed now.

Termalator commented 1 year ago

Yes it works, thank you very much :) and sorry for the late reply.