diff options
author | UbitUmarov | 2016-12-07 02:14:26 +0000 |
---|---|---|
committer | UbitUmarov | 2016-12-07 02:14:26 +0000 |
commit | f1c6769ca5a2e49fcfa4aa17c27173af6b49df2f (patch) | |
tree | 7ef10184b8363ec3f25e3d90ce34574f4a48dd7d /OpenSim/Region/CoreModules/Framework/UserManagement | |
parent | if we have profile then npc is online (diff) | |
download | opensim-SC_OLD-f1c6769ca5a2e49fcfa4aa17c27173af6b49df2f.zip opensim-SC_OLD-f1c6769ca5a2e49fcfa4aa17c27173af6b49df2f.tar.gz opensim-SC_OLD-f1c6769ca5a2e49fcfa4aa17c27173af6b49df2f.tar.bz2 opensim-SC_OLD-f1c6769ca5a2e49fcfa4aa17c27173af6b49df2f.tar.xz |
set HasGridUserTried on usercache of NPCs
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/UserManagement')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs index 5507526..2701912 100644 --- a/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs +++ b/OpenSim/Region/CoreModules/Framework/UserManagement/UserManagementModule.cs | |||
@@ -805,7 +805,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement | |||
805 | return !userdata.IsUnknownUser; | 805 | return !userdata.IsUnknownUser; |
806 | } | 806 | } |
807 | 807 | ||
808 | public virtual void AddUser(UUID uuid, string first, string last) | 808 | public virtual void AddUser(UUID uuid, string first, string last, bool isNPC = false) |
809 | { | 809 | { |
810 | lock(m_UserCache) | 810 | lock(m_UserCache) |
811 | { | 811 | { |
@@ -816,7 +816,7 @@ namespace OpenSim.Region.CoreModules.Framework.UserManagement | |||
816 | user.FirstName = first; | 816 | user.FirstName = first; |
817 | user.LastName = last; | 817 | user.LastName = last; |
818 | user.IsUnknownUser = false; | 818 | user.IsUnknownUser = false; |
819 | user.HasGridUserTried = false; | 819 | user.HasGridUserTried = isNPC; |
820 | m_UserCache.Add(uuid, user); | 820 | m_UserCache.Add(uuid, user); |
821 | } | 821 | } |
822 | } | 822 | } |