Commit c217d70c authored by Azilroka's avatar Azilroka

Friend Groups - Work

parent 1e314ef1
......@@ -396,9 +396,9 @@ function EFL:Initialize()
EFL:RegisterEvent("BN_CONNECTED", 'HandleBN')
EFL:RegisterEvent("BN_DISCONNECTED", 'HandleBN')
--if PA.db.FG then
-- EFL:SecureHook(PA.FG, 'FriendGroups_UpdateFriendButton', function(self, button) EFL:UpdateFriends(button) end)
--else
if PA.db.FriendGroups and PA.db.FriendGroups.Enable then
EFL:SecureHook(_G.FriendGroups, 'FriendGroups_UpdateFriendButton', function(_, button) EFL:UpdateFriends(button) end)
else
EFL:SecureHook("FriendsFrame_UpdateFriendButton", 'UpdateFriends')
--end
end
end
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment