diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs index 6252d56..5ebab65 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | |||
@@ -552,7 +552,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
552 | { | 552 | { |
553 | GroupTitlesData title = new GroupTitlesData(); | 553 | GroupTitlesData title = new GroupTitlesData(); |
554 | title.Name = role.Name; | 554 | title.Name = role.Name; |
555 | title.Selected = agentMembership.ActiveRole == role.RoleID; | 555 | if (agentMembership != null) |
556 | { | ||
557 | title.Selected = agentMembership.ActiveRole == role.RoleID; | ||
558 | } | ||
556 | title.UUID = role.RoleID; | 559 | title.UUID = role.RoleID; |
557 | } | 560 | } |
558 | 561 | ||