From 6dd0cc5f5d55c5d41cde1a9f19b0f34ceff9fbe0 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 22 Apr 2019 00:31:29 +0200 Subject: [PATCH] afkcam: fix pattern for non enUS clients --- modules/afkcam.lua | 2 +- pfUI.toc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/afkcam.lua b/modules/afkcam.lua index 25a65445..0707d855 100644 --- a/modules/afkcam.lua +++ b/modules/afkcam.lua @@ -1,5 +1,5 @@ pfUI:RegisterModule("afkcam", 20400, function () - local MARKED_AFK_CAPTURE = string.gsub(_G.MARKED_AFK_MESSAGE, "%%s", "(.+)") + local MARKED_AFK_CAPTURE = SanitizePattern(MARKED_AFK_MESSAGE) local social_chats = { "CHAT_MSG_SAY", "CHAT_MSG_WHISPER", diff --git a/pfUI.toc b/pfUI.toc index 67ad9c7b..29fe75b0 100644 --- a/pfUI.toc +++ b/pfUI.toc @@ -2,7 +2,7 @@ ## Title: |cff33ffccpf|cffffffffUI ## Author: Shagu ## Notes: A complete user interface replacement. -## Version: 4.0.3 +## Version: 4.0.4 ## SavedVariables: pfUI_profiles, pfUI_addon_profiles, pfUI_cache ## SavedVariablesPerCharacter: pfUI_config, pfUI_init, pfUI_playerDB