mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-08 06:30:00 +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)
|
SendChatMessage("[" .. arg2 .. "]: " .. arg1, "WHISPER", nil, forwardto)
|
||||||
end
|
end
|
||||||
|
|
||||||
if arg2 == forwardto then
|
if strlower(arg2) == strlower(forwardto) then
|
||||||
local isForward, _, name, message = string.find(arg1, "(.*): (.*)")
|
local isForward, _, name, message = string.find(arg1, "(.*): (.*)")
|
||||||
if isForward then
|
if isForward then
|
||||||
SendChatMessage(message, "WHISPER", nil, name)
|
SendChatMessage(message, "WHISPER", nil, name)
|
||||||
|
|||||||
Reference in New Issue
Block a user