skirmess / friends-share-resurrection

FriendsShare Resurrection is an AddOn that lets you keep the same friends list across characters, on a per server basis
2 stars 2 forks source link

LUA error in 8.1 #1

Closed raysmith59 closed 5 years ago

raysmith59 commented 5 years ago

12x FriendsShare\FriendsShare.lua:376: attempt to call global 'GetNumIgnores' (a nil value) FriendsShare\FriendsShare.lua:376: in function FriendsShare_SyncIgnoreList' FriendsShare\FriendsShare.lua:465: in functionFriendsShare_SyncLists' FriendsShare\FriendsShare.lua:491: in function `f' FriendsShare\FriendsShare.lua:39: in function <FriendsShare\FriendsShare.lua:23>

Locals: iItem = nil currentFriend = nil localIgnores =

{ } retval = 0 (temporary) = nil (temporary) = "attempt to call global 'GetNumIgnores' (a nil value)" Realm = "Dalaran"

raysmith59 commented 5 years ago

Fixed by changing line 376 to:

local numIgnores = C_FriendList.GetNumIgnores()

skirmess commented 5 years ago

Thank you! Fixed in version 30 which is available at curse