aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorMelanie2011-01-27 03:54:41 +0100
committerMelanie2011-01-27 05:33:01 +0000
commitadb341e32fa60f71eab2876adfd47ea0736e13fb (patch)
treee5da650c50896a915e91ed8b6775297b0593d20f
parentAdd TeleportFlags.ViaRegionID to the flags sent on login when the region (diff)
downloadopensim-SC_OLD-adb341e32fa60f71eab2876adfd47ea0736e13fb.zip
opensim-SC_OLD-adb341e32fa60f71eab2876adfd47ea0736e13fb.tar.gz
opensim-SC_OLD-adb341e32fa60f71eab2876adfd47ea0736e13fb.tar.bz2
opensim-SC_OLD-adb341e32fa60f71eab2876adfd47ea0736e13fb.tar.xz
Also set Godlike flag. Might be useful
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginService.cs2
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 //