mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 07:36:56 +00:00
whisperproxy: ignore case sensitivity in forward messages
This commit is contained in:
@@ -63,7 +63,7 @@ pfUI:RegisterModule("whisperproxy", "vanilla", function ()
|
||||
SendChatMessage("[" .. arg2 .. "]: " .. arg1, "WHISPER", nil, forwardto)
|
||||
end
|
||||
|
||||
if arg2 == forwardto then
|
||||
if strlower(arg2) == strlower(forwardto) then
|
||||
local isForward, _, name, message = string.find(arg1, "(.*): (.*)")
|
||||
if isForward then
|
||||
SendChatMessage(message, "WHISPER", nil, name)
|
||||
|
||||
Reference in New Issue
Block a user