Fix god chat not showing up in god color if the god is using a display name.

This commit is contained in:
Inusaito Sayori
2014-02-04 15:21:13 -05:00
parent 24f99a2920
commit 275f85e7a6

View File

@@ -83,7 +83,7 @@ LLColor4 agent_chat_color(const LLUUID& id, const std::string& name, bool local_
return gSavedSettings.getColor4("UserChatColor");
static const LLCachedControl<bool> color_linden_chat("ColorLindenChat");
if (color_linden_chat && LLMuteList::getInstance()->isLinden(name))
if (color_linden_chat && LLMuteList::getInstance()->isLinden(id))
return gSavedSettings.getColor4("AscentLindenColor");
// [RLVa:LF] Chat colors would identify names, don't use them in local chat if restricted