From 1168876dcc6fcbd434f51a96b07cadba7c9602ca Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 25 May 2025 10:45:17 +0200 Subject: [PATCH] Fix FriendsFrame_OnEvent to pass additional parameters so it actually works naturally --- Modules/Whoer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Whoer.lua b/Modules/Whoer.lua index adf3696..f0d8a3c 100644 --- a/Modules/Whoer.lua +++ b/Modules/Whoer.lua @@ -725,8 +725,8 @@ shared.Whoer = { Tick() end local original_FriendsFrame_OnEvent = FriendsFrame_OnEvent - local function my_FriendsFrame_OnEvent(event) - if not (event == "WHO_LIST_UPDATE" and whoWaiting) then original_FriendsFrame_OnEvent() end + local function my_FriendsFrame_OnEvent(self, event, ...) + if not (event == "WHO_LIST_UPDATE" and whoWaiting) then original_FriendsFrame_OnEvent(self, event, ...) end end FriendsFrame_OnEvent = my_FriendsFrame_OnEvent