diff options
author | Melanie | 2011-01-27 03:54:41 +0100 |
---|---|---|
committer | Melanie | 2011-01-27 03:54:41 +0100 |
commit | 1f19bd5f90c6d8db0c2780cab922bbcd2649eaca (patch) | |
tree | 700708a09228e2c88b1c486acae0fe0afefe9973 | |
parent | Add TeleportFlags.ViaRegionID to the flags sent on login when the region (diff) | |
download | opensim-SC_OLD-1f19bd5f90c6d8db0c2780cab922bbcd2649eaca.zip opensim-SC_OLD-1f19bd5f90c6d8db0c2780cab922bbcd2649eaca.tar.gz opensim-SC_OLD-1f19bd5f90c6d8db0c2780cab922bbcd2649eaca.tar.bz2 opensim-SC_OLD-1f19bd5f90c6d8db0c2780cab922bbcd2649eaca.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 07a5dc1..c6e6768 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -336,6 +336,8 @@ namespace OpenSim.Services.LLLoginService | |||
336 | return LLFailedLoginResponse.GridProblem; | 336 | return LLFailedLoginResponse.GridProblem; |
337 | } | 337 | } |
338 | 338 | ||
339 | if (account.UserLevel >= 200) | ||
340 | flags |= TeleportFlags.Godlike; | ||
339 | // | 341 | // |
340 | // Get the avatar | 342 | // Get the avatar |
341 | // | 343 | // |