Skip to content

Commit

Permalink
#SET_GROUP - small fix for FilterPrefixes compute
Browse files Browse the repository at this point in the history
  • Loading branch information
Applevangelist committed Aug 22, 2024
1 parent 016875d commit 0d481af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Moose Development/Moose/Core/Set.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2027,7 +2027,7 @@ do
local MGroupPrefix = false
for GroupPrefixId, GroupPrefix in pairs( self.Filter.GroupPrefixes ) do
--self:I( { "Prefix:", MGroup:GetName(), GroupPrefix } )
if string.find( string.lower(MGroup:GetName()), string.lower(GroupPrefix), 1 ) or string.find( string.lower(MGroup:GetName()), string.lower(GroupPrefix), 1, true ) then
if string.find(MGroup:GetName(), string.gsub(GroupPrefix,"-","%%-"),1) then
MGroupPrefix = true
end
end
Expand Down

0 comments on commit 0d481af

Please sign in to comment.