Not sure if needed but elv made adjustments to his icons think we needed the same?
Repooc [02-12-13 - 18:44]
Not sure if needed but elv made adjustments to his icons think we needed the same?
Signed-off-by: Repooc <tjcooper1982@gmail.com>
diff --git a/ElvUI_SLE/modules/chat/chat.lua b/ElvUI_SLE/modules/chat/chat.lua
index 17d1a61..ef12ebd 100644
--- a/ElvUI_SLE/modules/chat/chat.lua
+++ b/ElvUI_SLE/modules/chat/chat.lua
@@ -9,6 +9,9 @@ CHAT_FLAG_SLEFRIEND = "|TInterface\\AddOns\\ElvUI_SLE\\media\\textures\\Chat_Fri
CHAT_FLAG_SLETEST = "|TInterface\\AddOns\\ElvUI_SLE\\media\\textures\\Chat_Test:13:13|t"
--Toon table
local IconTable = {
+ ["Anasterian(US)"] = {
+ ["Dapooc"] = "SLEAUTHOR"
+ },
["Illidan"] = {
--Darth's toon
["Darthpred"] = "SLEAUTHOR",
@@ -197,20 +200,22 @@ end
--Filter
local function SLEfilter(self, event, message, author, arg3, arg4, arg5, arg6, ...)
local returnTex = arg6
-
+ local myRealm = E.myrealm
+ myRealm = myRealm:gsub(' ', '')
+ print(myRealm)
if(strlen(arg6) > 0) then
else
- if IconTable[E.myrealm] then
- for character, flag in pairs(IconTable[E.myrealm]) do
+ if IconTable[myRealm] then
+ for character, flag in pairs(IconTable[myRealm]) do
if author == character and flag then
returnTex = flag..arg6
end
end
for realm, _ in pairs(IconTable) do
- if realm ~= E.myrealm then
+ if realm ~= myRealm then
for character, flag in pairs(IconTable[realm]) do
- if author == character.."%-"..realm and flag then
+ if author == character.."-"..realm and flag then
returnTex = flag..arg6
end
end
@@ -219,7 +224,7 @@ local function SLEfilter(self, event, message, author, arg3, arg4, arg5, arg6, .
else
for realm, _ in pairs(IconTable) do
for character, flag in pairs(IconTable[realm]) do
- if author == character.."%-"..realm and flag then
+ if author == character.."-"..realm and flag then
returnTex = flag..arg6
end
end