Skip to content

Commit

Permalink
Add another classic guard for LibDualSpec
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevcairiel committed Aug 10, 2019
1 parent 4476222 commit 01a4a55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Bartender4.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ _G.Bartender4 = Bartender4

local L = LibStub("AceLocale-3.0"):GetLocale("Bartender4")

local WoWClassic = select(4, GetBuildInfo()) < 20000

local LDB = LibStub("LibDataBroker-1.1", true)
local LDBIcon = LibStub("LibDBIcon-1.0", true)
local LibDualSpec = LibStub("LibDualSpec-1.0", true)
local LibDualSpec = (not WoWClassic) and LibStub("LibDualSpec-1.0", true)

local _G = _G
local type, pairs, hooksecurefunc = type, pairs, hooksecurefunc

local WoWClassic = select(4, GetBuildInfo()) < 20000

-- GLOBALS: LibStub, UIParent, PlaySound, SOUNDKIT, RegisterStateDriver, UnregisterStateDriver
-- GLOBALS: BINDING_HEADER_Bartender4, BINDING_CATEGORY_Bartender4, BINDING_NAME_TOGGLEACTIONBARLOCK, BINDING_NAME_BTTOGGLEACTIONBARLOCK
-- GLOBALS: BINDING_HEADER_BT4PET, BINDING_CATEGORY_BT4PET, BINDING_HEADER_BT4STANCE, BINDING_CATEGORY_BT4STANCE
Expand Down

0 comments on commit 01a4a55

Please sign in to comment.