Skip to content

Commit

Permalink
fix error on login
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiatra committed May 6, 2023
1 parent 0597803 commit c86a45e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/CB_PlayedTime_Options.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@ local LibStub = LibStub
local addonName = "CB_PlayedTime"
local L = LibStub("AceLocale-3.0"):GetLocale("CB_PlayedTime")
local CB_PlayedTime = LibStub:GetLibrary("LibDataBroker-1.1",true):GetDataObjectByName(addonName)
local version = GetAddOnMetadata("CB_PlayedTime","X-Curse-Packaged-Version") or ""
local db
local tobedeleted

local aceoptions = {
name = addonName.." "..version,
name = addonName,
handler = CB_PlayedTime,
type='group',
desc = addonName,
Expand Down

0 comments on commit c86a45e

Please sign in to comment.