mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
replace godlevel compares by the new faster bool isViewerUIGod
This commit is contained in:
@@ -173,7 +173,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Gods
|
||||
|
||||
sp.GrantGodlikePowers(token, godLike);
|
||||
|
||||
if (godLike && sp.GodController.GodLevel < 200 && DialogModule != null)
|
||||
if (godLike && !sp.isViewerUIGod && DialogModule != null)
|
||||
DialogModule.SendAlertToUser(agentID, "Request for god powers denied");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user