diff options
author | UbitUmarov | 2017-01-06 01:09:42 +0000 |
---|---|---|
committer | UbitUmarov | 2017-01-06 01:09:42 +0000 |
commit | 6172446e2afa53960b4e118e0b2ae199f6e17b3f (patch) | |
tree | 835b484189907c74259d70e1841c151ea3bb8e3f /OpenSim/Addons/Groups/GroupsModule.cs | |
parent | fix merge (diff) | |
parent | UserLevel must have a trusted source (diff) | |
download | opensim-SC-6172446e2afa53960b4e118e0b2ae199f6e17b3f.zip opensim-SC-6172446e2afa53960b4e118e0b2ae199f6e17b3f.tar.gz opensim-SC-6172446e2afa53960b4e118e0b2ae199f6e17b3f.tar.bz2 opensim-SC-6172446e2afa53960b4e118e0b2ae199f6e17b3f.tar.xz |
Merge branch 'master' into httptests
Diffstat (limited to 'OpenSim/Addons/Groups/GroupsModule.cs')
-rw-r--r-- | OpenSim/Addons/Groups/GroupsModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Addons/Groups/GroupsModule.cs b/OpenSim/Addons/Groups/GroupsModule.cs index 1e9f2b5..aa5105e 100644 --- a/OpenSim/Addons/Groups/GroupsModule.cs +++ b/OpenSim/Addons/Groups/GroupsModule.cs | |||
@@ -756,7 +756,7 @@ namespace OpenSim.Groups | |||
756 | 756 | ||
757 | if (avatar != null) | 757 | if (avatar != null) |
758 | { | 758 | { |
759 | if (avatar.UserLevel < m_levelGroupCreate) | 759 | if (avatar.GodController.UserLevel < m_levelGroupCreate) |
760 | { | 760 | { |
761 | remoteClient.SendCreateGroupReply(UUID.Zero, false, String.Format("Insufficient permissions to create a group. Requires level {0}", m_levelGroupCreate)); | 761 | remoteClient.SendCreateGroupReply(UUID.Zero, false, String.Format("Insufficient permissions to create a group. Requires level {0}", m_levelGroupCreate)); |
762 | return UUID.Zero; | 762 | return UUID.Zero; |