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

@@ -666,7 +666,7 @@ bool join_group_response(const LLSD& notification, const LLSD& response)
if(option == 0 && !group_id.isNull())
{
// check for promotion or demotion.
S32 max_groups = MAX_AGENT_GROUPS;
S32 max_groups = gMaxAgentGroups;
if(gAgent.isInGroup(group_id)) ++max_groups;
if(gAgent.mGroups.count() < max_groups)