sylvanaar / prat-3-0

Prat-3.0 is a chat enhancement addon for world of warcraft
https://www.curseforge.com/wow/addons/prat-3-0
GNU General Public License v3.0
25 stars 45 forks source link

[Classic] Error adding target as friend with /friend or /friends command #189

Closed alphabitnz closed 3 years ago

alphabitnz commented 3 years ago
2x FrameXML\ChatFrame.lua:1992: Usage: C_FriendList.AddOrRemoveFriend(name, notes)
[C]: in function `AddOrRemoveFriend'
FrameXML\ChatFrame.lua:1992: in function `?'
FrameXML\ChatFrame.lua:4693: in function <FrameXML\ChatFrame.lua:4639>
[C]: in function `ChatEdit_ParseText'
FrameXML\ChatFrame.lua:4356: in function <FrameXML\ChatFrame.lua:4355>
[C]: in function `ChatEdit_SendText'
FrameXML\ChatFrame.lua:4392: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals:
(*temporary) = nil
(*temporary) = nil
alphabitnz commented 3 years ago

I think the C_FriendList. part is only for retail / shadowlands changes and the classic client doesn't like this since it still uses the older function calls

github-actions[bot] commented 3 years ago

This issue was flagged as stale

sylvanaar commented 3 years ago

Bad bot - you need to relax