Skip to content

Commit

Permalink
unload the groupbrowser module, since it was replaced with RDF
Browse files Browse the repository at this point in the history
  • Loading branch information
Road-block committed Dec 4, 2023
1 parent 24b3dad commit 97cea8d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1129,7 +1129,7 @@ end
local function BuildGroupieWindow()
if GroupieFrame ~= nil then
addon.ExpireListings()
local GroupieGroupBrowser = Groupie:GetModule("GroupieGroupBrowser")
local GroupieGroupBrowser = Groupie:GetModule("GroupieGroupBrowser",true)
if GroupieGroupBrowser then
GroupieGroupBrowser:AttachLFGToolPreset(GroupieTab1, 2)
GroupieGroupBrowser:AttachLFGToolPreset(GroupieTab2, 2)
Expand Down Expand Up @@ -3221,7 +3221,7 @@ function addon:OnEnable()
if isInitialLogin == true then
C_Timer.After(15, function()
addon.UpdateCharacterSheet()
local GroupieGroupBrowser = Groupie:GetModule("GroupieGroupBrowser")
local GroupieGroupBrowser = Groupie:GetModule("GroupieGroupBrowser",true)
if GroupieGroupBrowser then
--Queue updates from the LFG tool for dungeons and raids on login
local dungeons, dungeonactivities = GroupieGroupBrowser:GetActivitiesFor(2)
Expand Down
6 changes: 3 additions & 3 deletions Groupie.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 30402
## Interface: 30403
## Title: Groupie
## Notes: A better LFG tool for Classic WoW.
## Version: 1.73
## Version: 1.74-alpha
## Author: Gogo, LemonDrake, Kynura, Raegen
## SavedVariables: GroupieDB
## X-Curse-Project-ID: 661450
Expand All @@ -18,7 +18,7 @@ DBs/AchievementData.lua
DBs/InstanceData.lua
Globals.lua
Core.lua
GroupBrowser.lua
#GroupBrowser.lua
RightClick.lua
Listener.lua
AutoResponse.lua
Expand Down
8 changes: 4 additions & 4 deletions RightClick.lua
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,12 @@ end
---------------
local function GroupieUnitMenu(dropdownMenu, which, unit, name, userData, ...)

if (UIDROPDOWNMENU_MENU_LEVEL > 1) then
--Attempt to prevent taint by not hooking dropdown while in combat
if InCombatLockdown() then
return
end

--Attempt to prevent taint by not hooking dropdown while in combat
if InCombatLockdown() then
if (UIDROPDOWNMENU_MENU_LEVEL > 1) or (which ~= "PLAYER") then
return
end

Expand All @@ -209,7 +209,7 @@ local function GroupieUnitMenu(dropdownMenu, which, unit, name, userData, ...)
end

--Dont show the menu on the player's own frame if not in debug mode
if unit == "player" and not addon.debugMenus then
if UnitIsUnit(unit,"player") and not addon.debugMenus then
return
end
if myname == name and not addon.debugMenus then
Expand Down

0 comments on commit 97cea8d

Please sign in to comment.