HTTP links in group notices and extended group limit ready.

This commit is contained in:
Siana Gearz
2011-01-04 14:48:23 +01:00
parent 77fc0e82c8
commit e89db0b4b1
9 changed files with 30 additions and 6 deletions

View File

@@ -226,6 +226,8 @@ std::string gInitialOutfitGender;
std::string SCREEN_HOME_FILENAME = "screen_home.bmp";
std::string SCREEN_LAST_FILENAME = "screen_last.bmp";
S32 gMaxAgentGroups = DEFAULT_MAX_AGENT_GROUPS;
//
// Imported globals
//
@@ -2459,6 +2461,17 @@ bool idle_startup()
}
}
std::string max_agent_groups = LLUserAuth::getInstance()->getResponse("max-agent-groups");
if (!max_agent_groups.empty())
{
gMaxAgentGroups = atoi(max_agent_groups.c_str());
LL_INFOS("LLStartup") << "gMaxAgentGroups read from login.cgi: " << gMaxAgentGroups << LL_ENDL;
}
else
{
gMaxAgentGroups = DEFAULT_MAX_AGENT_GROUPS;
}
std::string map_server_url = LLUserAuth::getInstance()->getResponse("map-server-url");
if(!map_server_url.empty())
{