diff options
author | Melanie | 2011-01-27 03:54:41 +0100 |
---|---|---|
committer | Melanie | 2011-01-27 05:33:01 +0000 |
commit | adb341e32fa60f71eab2876adfd47ea0736e13fb (patch) | |
tree | e5da650c50896a915e91ed8b6775297b0593d20f | |
parent | Add TeleportFlags.ViaRegionID to the flags sent on login when the region (diff) | |
download | opensim-SC-adb341e32fa60f71eab2876adfd47ea0736e13fb.zip opensim-SC-adb341e32fa60f71eab2876adfd47ea0736e13fb.tar.gz opensim-SC-adb341e32fa60f71eab2876adfd47ea0736e13fb.tar.bz2 opensim-SC-adb341e32fa60f71eab2876adfd47ea0736e13fb.tar.xz |
Also set Godlike flag. Might be useful
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index 1ab63f7..d364aa4 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -329,6 +329,8 @@ namespace OpenSim.Services.LLLoginService | |||
329 | return LLFailedLoginResponse.GridProblem; | 329 | return LLFailedLoginResponse.GridProblem; |
330 | } | 330 | } |
331 | 331 | ||
332 | if (account.UserLevel >= 200) | ||
333 | flags |= TeleportFlags.Godlike; | ||
332 | // | 334 | // |
333 | // Get the avatar | 335 | // Get the avatar |
334 | // | 336 | // |