Skip to content

Commit

Permalink
Add another link protection for nonstandard links - should have done …
Browse files Browse the repository at this point in the history
…it this way the first time
  • Loading branch information
sylvanaar committed Dec 3, 2019
1 parent bfbe6e8 commit d6d92d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/PlayerNameGlobalPatterns.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ Prat:AddModuleExtension(function()
matchfunc=function(link) return Prat:RegisterMatch(link) end,
type = "FRAME", priority = 45 }, module.name)

Prat.RegisterPattern({ pattern = "|H.-:.-|h.-|h",
matchfunc=function(link) return Prat:RegisterMatch(link) end,
type = "FRAME", priority = 44 }, module.name)

local ColorPlayer
do
local function Player(name, class)
Expand Down

0 comments on commit d6d92d2

Please sign in to comment.