diff options
Diffstat (limited to 'indra/newview/lllogininstance.cpp')
| -rw-r--r-- | indra/newview/lllogininstance.cpp | 21 | 
1 files changed, 14 insertions, 7 deletions
| diff --git a/indra/newview/lllogininstance.cpp b/indra/newview/lllogininstance.cpp index 3c59cb83cd..428bed7b72 100644 --- a/indra/newview/lllogininstance.cpp +++ b/indra/newview/lllogininstance.cpp @@ -222,19 +222,26 @@ bool LLLoginInstance::handleLoginFailure(const LLSD& event)  		// to reconnect or to end the attempt in failure.  		if(reason_response == "tos")  		{ -			LLFloaterTOS * tos = +			LLFloaterTOS * tos =
  				LLFloaterReg::showTypedInstance<LLFloaterTOS>("message_tos", LLSD(message_response)); - -			tos->setTOSCallback(boost::bind(&LLLoginInstance::handleTOSResponse, +			/* +			LLFloaterTOS::show(LLFloaterTOS::TOS_TOS, +								message_response, +								boost::bind(&LLLoginInstance::handleTOSResponse,   											this, _1, "agree_to_tos")); +			*/  		}  		else if(reason_response == "critical")  		{ -			LLFloaterTOS * tos = +			LLFloaterTOS * tos =
  				LLFloaterReg::showTypedInstance<LLFloaterTOS>("message_critical",LLSD(message_response)); - -			tos->setTOSCallback(boost::bind(&LLLoginInstance::handleTOSResponse, -											this, _1, "read_critical")); +			/* +			LLFloaterTOS::show(LLFloaterTOS::TOS_CRITICAL_MESSAGE, +								message_response, +								boost::bind(&LLLoginInstance::handleTOSResponse,  +												this, _1, "read_critical") +											); +			*/  		}  		else if(reason_response == "update" || gSavedSettings.getBOOL("ForceMandatoryUpdate"))  		{ | 
