Commit 2339ca0f authored by fgprodigal's avatar fgprodigal

Disable profanityFilter for Chinese user

parent 823f9e73
......@@ -55,4 +55,6 @@ function RayUI:Initialize()
if E.private.install_complete == E.version and E.db.mui.installed and E.db.rayui.installed == nil then
E:GetModule("PluginInstaller"):Queue(RayUI.installTable)
end
self:RegisterEvent("LOADING_SCREEN_DISABLED")
end
......@@ -92,6 +92,12 @@ function RayUI:IsAddOnEnabled(addon) -- Credit: Azilroka
return GetAddOnEnableState(E.myname, addon) == 2
end
-- Disable profanityFilter. By EKE
function RayUI:LOADING_SCREEN_DISABLED()
ConsoleExec("portal TW")
ConsoleExec("profanityFilter 0")
end
function E:ShortenString(str, numChars, dots)
local bytes = #str
if bytes <= numChars 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