diff options
author | Dr Scofield | 2009-05-06 20:02:49 +0000 |
---|---|---|
committer | Dr Scofield | 2009-05-06 20:02:49 +0000 |
commit | 1352a198386ef9e18c5c8b52bb6032f3264432f4 (patch) | |
tree | 609f50d829e04074a9767f17fefecf6445ff4a06 /OpenSim/Tests/Common/Mock/TestScene.cs | |
parent | * Added some GetAssetStreamHandlerTests (diff) | |
download | opensim-SC_OLD-1352a198386ef9e18c5c8b52bb6032f3264432f4.zip opensim-SC_OLD-1352a198386ef9e18c5c8b52bb6032f3264432f4.tar.gz opensim-SC_OLD-1352a198386ef9e18c5c8b52bb6032f3264432f4.tar.bz2 opensim-SC_OLD-1352a198386ef9e18c5c8b52bb6032f3264432f4.tar.xz |
refactoring Scene.NewUserConnection() to be simpler and clearer.
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestScene.cs')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestScene.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestScene.cs b/OpenSim/Tests/Common/Mock/TestScene.cs index 0be98a2..670ba61 100644 --- a/OpenSim/Tests/Common/Mock/TestScene.cs +++ b/OpenSim/Tests/Common/Mock/TestScene.cs | |||
@@ -25,6 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
28 | using Nini.Config; | 29 | using Nini.Config; |
29 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
30 | using OpenSim.Framework.Communications; | 31 | using OpenSim.Framework.Communications; |
@@ -55,8 +56,9 @@ namespace OpenSim.Tests.Common.Mock | |||
55 | /// | 56 | /// |
56 | /// <param name="agent"></param> | 57 | /// <param name="agent"></param> |
57 | /// <returns></returns> | 58 | /// <returns></returns> |
58 | public override bool AuthenticateUser(AgentCircuitData agent) | 59 | public override bool AuthenticateUser(AgentCircuitData agent, out string reason) |
59 | { | 60 | { |
61 | reason = String.Empty; | ||
60 | return true; | 62 | return true; |
61 | } | 63 | } |
62 | 64 | ||