aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/LoginResponse.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-01 15:17:37 +0000
committerMelanie Thielker2008-10-01 15:17:37 +0000
commitfecbb2febd04ec1ad26d0a38930c61cad372b6c6 (patch)
tree5d41cc81fa38a7c224504005fc3e9fcbb0596f44 /OpenSim/Framework/Communications/LoginResponse.cs
parenta little (incomplete) hackery in the IRC module to allow run-time connection ... (diff)
downloadopensim-SC_OLD-fecbb2febd04ec1ad26d0a38930c61cad372b6c6.zip
opensim-SC_OLD-fecbb2febd04ec1ad26d0a38930c61cad372b6c6.tar.gz
opensim-SC_OLD-fecbb2febd04ec1ad26d0a38930c61cad372b6c6.tar.bz2
opensim-SC_OLD-fecbb2febd04ec1ad26d0a38930c61cad372b6c6.tar.xz
Add a user server XMLRPC method to set the MOTD and the minimum GodLevel
required to log in. set_login_params accepts avatar_uuid and password of a user with god level 200 or more, and allows setting either or both the login_motd or login_level
Diffstat (limited to 'OpenSim/Framework/Communications/LoginResponse.cs')
-rw-r--r--OpenSim/Framework/Communications/LoginResponse.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/LoginResponse.cs b/OpenSim/Framework/Communications/LoginResponse.cs
index db504f9..b2565b1 100644
--- a/OpenSim/Framework/Communications/LoginResponse.cs
+++ b/OpenSim/Framework/Communications/LoginResponse.cs
@@ -275,6 +275,22 @@ namespace OpenSim.Framework.Communications
275 "false"); 275 "false");
276 } 276 }
277 277
278 public XmlRpcResponse CreateLoginBlockedResponse()
279 {
280 return
281 (GenerateFailureResponse("presence",
282 "Logins are currently restricted. Please try again later",
283 "false"));
284 }
285
286 public LLSD CreateLoginBlockedResponseLLSD()
287 {
288 return GenerateFailureResponseLLSD(
289 "presence",
290 "Logins are currently restricted. Please try again later",
291 "false");
292 }
293
278 public XmlRpcResponse CreateDeadRegionResponse() 294 public XmlRpcResponse CreateDeadRegionResponse()
279 { 295 {
280 return 296 return