mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Restructure god level and permissions
Create a class GodController which controls all aspects of god level, viewer modes and user levels at ScenePresence level.
This commit is contained in:
@@ -118,7 +118,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
// If we're in god mode, we reverse the meaning. Offer
|
||||
// calling card becomes "Take a calling card" for that
|
||||
// person, no matter if they agree or not.
|
||||
if (sp.GodLevel >= 200)
|
||||
if (sp.GodController.GodLevel >= 200)
|
||||
{
|
||||
CreateCallingCard(client.AgentId, destID, UUID.Zero, true);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user