Commit 1cc579f5 authored by Ivaria's avatar Ivaria

Fix regexp when deleting debuff blacklist entries by spell ID

parent f79717af
......@@ -57,7 +57,7 @@ function VUHDO_deleteDebuffIgnoreClicked(aButton)
if (VUHDO_DEBUFF_BLACKLIST[strtrim(tText)]) then
VUHDO_DEBUFF_BLACKLIST[strtrim(tText)] = nil;
local tSpellId = string.match(tText, [[([^\]\[]+)]]);
local tSpellId = string.match(tText, '([^%]%[]+)');
if (tSpellId ~= nil and VUHDO_DEBUFF_BLACKLIST[tSpellId]) then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment