Suppport group chat prefix bugfix: Checkbox dissapears when checkbox off.

Techwolf Lupindo 2011-11-22 11:06:54 -05:00
parent cfa5b0d35e
commit 05935d0912
2 changed files with 3 additions and 3 deletions

View File

@ -609,8 +609,7 @@ LLSD FSData::allowed_login()
BOOL FSData::isSupportGroup(LLUUID id)
{
static LLCachedControl<bool> chat_prefix(gSavedSettings, "FSSupportGroupChatPrefix");
return (chat_prefix && mSupportGroup.count(id));
return (mSupportGroup.count(id));
}
std::string FSData::processRequestForInfo(LLUUID requester, std::string message, std::string name, LLUUID sessionid)

View File

@ -292,7 +292,8 @@ void LLIMFloater::sendMsg()
//-TT /Patch MU_OOC from Satomi Ahn
// TL: Support group chat prefix
if (FSData::getInstance()->isSupportGroup(mSessionID))
static LLCachedControl<bool> chat_prefix(gSavedSettings, "FSSupportGroupChatPrefix");
if (chat_prefix && FSData::getInstance()->isSupportGroup(mSessionID))
{
if (utf8_text.find("/me ") == 0)
{