diff options
author | Diva Canto | 2011-02-07 14:49:18 -0800 |
---|---|---|
committer | Diva Canto | 2011-02-07 14:49:18 -0800 |
commit | d934add0213400f03bc4dc2d24e1b0ccee965101 (patch) | |
tree | 47ce50d8fe4a38adf49f55a5f21e232ac07da715 | |
parent | Hunting down mantis #5365 (diff) | |
download | opensim-SC_OLD-d934add0213400f03bc4dc2d24e1b0ccee965101.zip opensim-SC_OLD-d934add0213400f03bc4dc2d24e1b0ccee965101.tar.gz opensim-SC_OLD-d934add0213400f03bc4dc2d24e1b0ccee965101.tar.bz2 opensim-SC_OLD-d934add0213400f03bc4dc2d24e1b0ccee965101.tar.xz |
Thanks Tokeiito for noticing this bug. mantis #5366
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Authorization/RemoteAuthorizationServiceConnector.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authorization/RemoteAuthorizationServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authorization/RemoteAuthorizationServiceConnector.cs index 01a2615..66994fa 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authorization/RemoteAuthorizationServiceConnector.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Authorization/RemoteAuthorizationServiceConnector.cs | |||
@@ -139,7 +139,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Authorization | |||
139 | 139 | ||
140 | if (scene != null) | 140 | if (scene != null) |
141 | { | 141 | { |
142 | UserAccount account = scene.UserAccountService.GetUserAccount(UUID.Zero, userID); | 142 | UserAccount account = scene.UserAccountService.GetUserAccount(UUID.Zero, new UUID(userID)); |
143 | isAuthorized = IsAuthorizedForRegion(userID, account.FirstName, account.LastName, | 143 | isAuthorized = IsAuthorizedForRegion(userID, account.FirstName, account.LastName, |
144 | account.Email, scene.RegionInfo.RegionName, regionID, out message); | 144 | account.Email, scene.RegionInfo.RegionName, regionID, out message); |
145 | } | 145 | } |