Skip to content

Commit

Permalink
Merge pull request #38 from Lukazoid/non_greedy_guild_highlight
Browse files Browse the repository at this point in the history
Guild highlighting is no longer greedy
  • Loading branch information
sylvanaar authored Dec 11, 2019
2 parents d6d92d2 + 411ffd0 commit 2854255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/Highlight.lua
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,6 @@ Prat:AddModuleToLoad(function()

Prat:SetModulePatterns(module, {
{ pattern = Prat.GetNamePattern(UnitName("player")), matchfunc = highlightPlayer, priority = 100 },
{ pattern = "<(.+)>", matchfunc = highlightGuild, priority = 100 },
{ pattern = "<(..-)>", matchfunc = highlightGuild, priority = 100 },
})
end)

0 comments on commit 2854255

Please sign in to comment.