aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-14 17:18:51 +0000
committerJustin Clark-Casey (justincc)2011-11-14 17:18:51 +0000
commitde895ee54a14f21ee0609e6a3636a31407495aa3 (patch)
treec6449e7ef1da31980644d36689f7fa158d5d6d0f /OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
parentIf a friends identifier which is too short is given to HGFriendsModule.GetOnl... (diff)
downloadopensim-SC-de895ee54a14f21ee0609e6a3636a31407495aa3.zip
opensim-SC-de895ee54a14f21ee0609e6a3636a31407495aa3.tar.gz
opensim-SC-de895ee54a14f21ee0609e6a3636a31407495aa3.tar.bz2
opensim-SC-de895ee54a14f21ee0609e6a3636a31407495aa3.tar.xz
Add very simple FriendsModuleTests.TestNoFriends()
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
index c952ebf..28a2f73 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
@@ -165,7 +165,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
165 165
166 // Instantiate the request handler 166 // Instantiate the request handler
167 IHttpServer server = MainServer.GetHttpServer((uint)mPort); 167 IHttpServer server = MainServer.GetHttpServer((uint)mPort);
168 server.AddStreamHandler(new FriendsRequestHandler(this)); 168
169 if (server != null)
170 server.AddStreamHandler(new FriendsRequestHandler(this));
169 } 171 }
170 172
171 if (m_FriendsService == null) 173 if (m_FriendsService == null)