Skip to content

Commit

Permalink
1.0.28-Release
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Norberg committed Sep 28, 2021
1 parent 08558ca commit 901e3cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Bagnon_Garbage/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ if (not Bagnon) then
end
if (function(addon)
for i = 1,GetNumAddOns() do
if (string.lower((GetAddOnInfo(i))) == string.lower(addon)) then
if (GetAddOnEnableState(UnitName("player"), i) ~= 0) then
local name, title, notes, loadable, reason, security, newVersion = GetAddOnInfo(i)
if (name:lower() == addon:lower()) then
local enabled = not(GetAddOnEnableState(UnitName("player"), i) == 0)
if (enabled and loadable) then
return true
end
end
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.0.28-Release] 2021-09-28
### Changed
- Update auto-disable logic.

## [1.0.27-Release] 2021-09-01
- Bump TOC for BCC 2.5.2.

Expand Down

0 comments on commit 901e3cc

Please sign in to comment.