Skip to content

Commit

Permalink
Fixed a bug with 10.2.6 startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidan committed Mar 19, 2024
1 parent 78b5a5b commit 8d85fa2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AdiBags.toc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with AdiBags. If not, see <http://www.gnu.org/licenses/>.

## Interface: 100107
## Interface: 100206

## Title: AdiBags
## Notes: Adirelle's bag addon.
Expand Down
2 changes: 1 addition & 1 deletion AdiBags_Config/AdiBags_Config.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100107
## Interface: 100206

## Title: AdiBags Configuration
## Notes: Adirelle's bag addon.
Expand Down
2 changes: 1 addition & 1 deletion core/Filters.lua
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ local safecall = addon.safecall
function addon:Filter(slotData, defaultSection, defaultCategory)
for i, filter in ipairs(GetActiveFilters()) do
local sectionName, category = safecall(filter.Filter, filter, slotData)
if sectionName then
if sectionName and sectionName ~= "" then
--@alpha@
assert(type(sectionName) == "string", "Filter "..filter.name.." returned "..type(sectionName).." as section name instead of a string")
assert(category == nil or type(category) == "string", "Filter "..filter.name.." returned "..type(category).." as category instead of a string")
Expand Down

0 comments on commit 8d85fa2

Please sign in to comment.