From 7d5b741009216df2e6e8564b86fa24cb76dd93b7 Mon Sep 17 00:00:00 2001 From: shagu Date: Fri, 14 Feb 2025 10:12:29 +0100 Subject: [PATCH] whisperproxy: ignore case sensitivity in forward messages --- modules/whisperproxy.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/whisperproxy.lua b/modules/whisperproxy.lua index 5fbe557f..470ca20e 100644 --- a/modules/whisperproxy.lua +++ b/modules/whisperproxy.lua @@ -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)