diff options
author | Sean Dague | 2007-07-31 14:42:50 +0000 |
---|---|---|
committer | Sean Dague | 2007-07-31 14:42:50 +0000 |
commit | 55b569069dfd6eb7c87d4fbd66d68083878f6c65 (patch) | |
tree | 55863a76a9c4797ee8d9fa954868e1d650e0d7be /OpenSim/Region | |
parent | * Fixed a bug where the simulator could crash if the userserver was particula... (diff) | |
download | opensim-SC-55b569069dfd6eb7c87d4fbd66d68083878f6c65.zip opensim-SC-55b569069dfd6eb7c87d4fbd66d68083878f6c65.tar.gz opensim-SC-55b569069dfd6eb7c87d4fbd66d68083878f6c65.tar.bz2 opensim-SC-55b569069dfd6eb7c87d4fbd66d68083878f6c65.tar.xz |
clear userAgent state on client shutdown, which fixes the issue
where you could only login once with a given id in standalone mode.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs index cd9c4fe..0459e80 100644 --- a/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs +++ b/OpenSim/Region/Communications/OGS1/OGS1UserServices.cs | |||
@@ -86,6 +86,11 @@ namespace OpenSim.Region.Communications.OGS1 | |||
86 | return null; | 86 | return null; |
87 | } | 87 | } |
88 | 88 | ||
89 | public void clearUserAgent(LLUUID avatarID) | ||
90 | { | ||
91 | // TODO: implement | ||
92 | } | ||
93 | |||
89 | public UserProfileData SetupMasterUser(string firstName, string lastName) | 94 | public UserProfileData SetupMasterUser(string firstName, string lastName) |
90 | { | 95 | { |
91 | return SetupMasterUser(firstName, lastName, ""); | 96 | return SetupMasterUser(firstName, lastName, ""); |
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 70aead3..dbc6f92 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -674,7 +674,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
674 | } | 674 | } |
675 | } | 675 | } |
676 | // TODO: Add the removal from physics ? | 676 | // TODO: Add the removal from physics ? |
677 | 677 | ||
678 | // Remove client agent from profile, so new logins will work | ||
679 | commsManager.UserServer.clearUserAgent(agentID); | ||
678 | 680 | ||
679 | return; | 681 | return; |
680 | } | 682 | } |