From c86a45e1969c8ae74daa29a77919436fe6bd4a52 Mon Sep 17 00:00:00 2001 From: Kiatra Date: Sun, 7 May 2023 01:19:09 +0200 Subject: [PATCH] fix error on login --- modules/CB_PlayedTime_Options.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/CB_PlayedTime_Options.lua b/modules/CB_PlayedTime_Options.lua index 2f2c1cc..16b58e6 100644 --- a/modules/CB_PlayedTime_Options.lua +++ b/modules/CB_PlayedTime_Options.lua @@ -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,