diff options
Diffstat (limited to 'OpenSim/Grid/UserServer.Modules/UserServerFriendsModule.cs')
-rw-r--r-- | OpenSim/Grid/UserServer.Modules/UserServerFriendsModule.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Grid/UserServer.Modules/UserServerFriendsModule.cs b/OpenSim/Grid/UserServer.Modules/UserServerFriendsModule.cs index 1684eb7..c860834 100644 --- a/OpenSim/Grid/UserServer.Modules/UserServerFriendsModule.cs +++ b/OpenSim/Grid/UserServer.Modules/UserServerFriendsModule.cs | |||
@@ -28,6 +28,7 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections; | 29 | using System.Collections; |
30 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
31 | using System.Net; | ||
31 | using System.Reflection; | 32 | using System.Reflection; |
32 | using log4net; | 33 | using log4net; |
33 | using Nwc.XmlRpc; | 34 | using Nwc.XmlRpc; |
@@ -93,7 +94,7 @@ namespace OpenSim.Grid.UserServer.Modules | |||
93 | return response; | 94 | return response; |
94 | } | 95 | } |
95 | 96 | ||
96 | public XmlRpcResponse XmlRpcResponseXmlRPCAddUserFriend(XmlRpcRequest request) | 97 | public XmlRpcResponse XmlRpcResponseXmlRPCAddUserFriend(XmlRpcRequest request, IPEndPoint remoteClient) |
97 | { | 98 | { |
98 | XmlRpcResponse response = new XmlRpcResponse(); | 99 | XmlRpcResponse response = new XmlRpcResponse(); |
99 | Hashtable requestData = (Hashtable)request.Params[0]; | 100 | Hashtable requestData = (Hashtable)request.Params[0]; |
@@ -115,7 +116,7 @@ namespace OpenSim.Grid.UserServer.Modules | |||
115 | return response; | 116 | return response; |
116 | } | 117 | } |
117 | 118 | ||
118 | public XmlRpcResponse XmlRpcResponseXmlRPCRemoveUserFriend(XmlRpcRequest request) | 119 | public XmlRpcResponse XmlRpcResponseXmlRPCRemoveUserFriend(XmlRpcRequest request, IPEndPoint remoteClient) |
119 | { | 120 | { |
120 | XmlRpcResponse response = new XmlRpcResponse(); | 121 | XmlRpcResponse response = new XmlRpcResponse(); |
121 | Hashtable requestData = (Hashtable)request.Params[0]; | 122 | Hashtable requestData = (Hashtable)request.Params[0]; |
@@ -135,7 +136,7 @@ namespace OpenSim.Grid.UserServer.Modules | |||
135 | return response; | 136 | return response; |
136 | } | 137 | } |
137 | 138 | ||
138 | public XmlRpcResponse XmlRpcResponseXmlRPCUpdateUserFriendPerms(XmlRpcRequest request) | 139 | public XmlRpcResponse XmlRpcResponseXmlRPCUpdateUserFriendPerms(XmlRpcRequest request, IPEndPoint remoteClient) |
139 | { | 140 | { |
140 | XmlRpcResponse response = new XmlRpcResponse(); | 141 | XmlRpcResponse response = new XmlRpcResponse(); |
141 | Hashtable requestData = (Hashtable)request.Params[0]; | 142 | Hashtable requestData = (Hashtable)request.Params[0]; |
@@ -156,7 +157,7 @@ namespace OpenSim.Grid.UserServer.Modules | |||
156 | return response; | 157 | return response; |
157 | } | 158 | } |
158 | 159 | ||
159 | public XmlRpcResponse XmlRpcResponseXmlRPCGetUserFriendList(XmlRpcRequest request) | 160 | public XmlRpcResponse XmlRpcResponseXmlRPCGetUserFriendList(XmlRpcRequest request, IPEndPoint remoteClient) |
160 | { | 161 | { |
161 | // XmlRpcResponse response = new XmlRpcResponse(); | 162 | // XmlRpcResponse response = new XmlRpcResponse(); |
162 | Hashtable requestData = (Hashtable)request.Params[0]; | 163 | Hashtable requestData = (Hashtable)request.Params[0]; |